Filter löschen
Filter löschen

Auto Simulate Simulink Model

5 Ansichten (letzte 30 Tage)
Tausif Ali
Tausif Ali am 11 Feb. 2011
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.

Antworten (2)

Vieniava am 11 Feb. 2011
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');
This would fire up your simulation every 9.5 sec.
To stop

James Allison
James Allison am 16 Feb. 2011
Automating the simulation of a Simulink model from MATLAB can be done using the sim command.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by