Auto Simulate Simulink Model
3 ビュー (過去 30 日間)
古いコメントを表示
I want to automate the process of capturing and saving the video from a wireless cam but in simulink model it is required to start simulation I need to know if I can automate start simulation procedure in an application.
0 件のコメント
回答 (2 件)
Vieniava
2011 年 2 月 11 日
Iam not sure what kind of automation you need. You may use timer() object:
tim1=timer('TimerFcn', ' sim(''YourSimulation.mdl'') ', ...
'Period', 9.5, 'ExecutionMode', 'fixedRate');
start(tim1);
This would fire up your simulation every 9.5 sec.
To stop
stop(tim1);
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!