Why shortcut Ctrl+T cannot uncomment the code in InitFcn of simulink model, but start the simulation?
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jiazhi Wang
el 27 de Nov. de 2020
Respondida: Sulaymon Eshkabilov
el 27 de Nov. de 2020
- when I code in the InitFcn of a simulink model and try to uncomment some of the code, I press shortcut Ctrl+T in keyboard, but simulink starts the simulation instead of uncomment the selected code.
- I check the shortcuts configuration of MATLAB, but there is no conflict.
- I can used Ctrl+T to uncomment the code in InitFcn of the same simulink model in Matlab R2019b.
0 comentarios
Respuesta aceptada
Sulaymon Eshkabilov
el 27 de Nov. de 2020
In SImulink, the shortcut Ctrl+T is reserved for the "run" command that executes models. That's why it does not work for uncommenting in Simulink.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Interactive Model Editing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!