Simulink disabling drag-and-drop while running
6 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Fangjun Jiang
2011-8-11
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Environment Customization 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!