Why shortcut Ctrl+T cannot uncomment the code in InitFcn of simulink model, but start the simulation?
7 views (last 30 days)
Show older comments
Jiazhi Wang
on 27 Nov 2020
Answered: Sulaymon Eshkabilov
on 27 Nov 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 Comments
Accepted Answer
Sulaymon Eshkabilov
on 27 Nov 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 Comments
More Answers (0)
See Also
Categories
Find more on Interactive Model Editing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!