Why shortcut Ctrl+T cannot uncomment the code in InitFcn of simulink model, but start the simulation?

6 visualizaciones (últimos 30 días)
  1. 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.
  2. I check the shortcuts configuration of MATLAB, but there is no conflict.
  3. I can used Ctrl+T to uncomment the code in InitFcn of the same simulink model in Matlab R2019b.

Respuesta aceptada

Sulaymon Eshkabilov
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.

Más respuestas (0)

Categorías

Más información sobre Interactive Model Editing en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by