One-Step a Simulink Simulation from the MATLAB command line
显示 更早的评论
Hi,
I'm trying to step through a simulink model by just executing time 0 then 1, then 2, etc. from the command line. Rather than using the debugger, I'd like to execute the entire model each time, assuming its fixed-step.
Something like this would be preffered: simulate('model_name', onestep);
Is there any way to do this in simulink/MATLAB?
回答(2 个)
Kaustubha Govind
2012-5-14
1 个投票
Note that the word model needs to be replaced with the actual name of the model.
krishna teja
2020-3-28
0 个投票
check this
类别
在 帮助中心 和 File Exchange 中查找有关 Modeling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!