Update Diagram (sample time or automatically)
8 次查看(过去 30 天)
显示 更早的评论
Hello.
I get got a Simulink model file to work with it. This file possess all the settings we need. Now I get the problem, I have to push the buttom "update diagramm" all the time. Especely when I work with the "manual switch" to change a value.
What can I do to push this buttom not all the time? Where in the settings I can find the sample time for "update diagram"?
Thanks for help.
Daniel
0 个评论
回答(2 个)
Kaustubha Govind
2013-3-14
"Update Diagram" runs automatically at the beginning of every simulation, but needs to be run manually if you make any manual changes (like adding/deleting blocks or modifying the manual switch) and want to make sure that your model compiles correctly before starting simulation. It does not have a "sample time", because it only needs to run once at the beginning of simulation, and not at every time-step. Perhaps using the keyboard shortcut (Ctrl+D) will somewhat alleviate the pain?
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!