Simulink disabling drag-and-drop while running
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
About Simulink blocks: I need to disable drag-and-drop blocks while the simulation is running to avoid mistakes.
How can I do it ?
Thanks Eric
0 Kommentare
Akzeptierte Antwort
Fangjun Jiang
am 11 Aug. 2011
I assume you have a simulation that takes long time to run and you don't want to mess up with the blocks while it is running.
You could hide the visibility of the model by turn it on/ff, or turn the lock of the model on/off;
Open the model 'f14', change the simulation stop time to inf and run it.
set_param('f14','open','off')
Or you can lock it temporarily
set_param('f14','lock','on')
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Simulink Environment Customization finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!