How to Determine the current/next Simulink TimeStep when running a simulation?
Ältere Kommentare anzeigen
Hi There,
I have a 'Matlab Function' block in a simulink model. I need to multiply a particular variable by the current/next timestep as the simulation is run - how exactly do I do this/ get the timestep data?
Thanks
*Edit*
Also is there anyway to get the the simulation runtime as a variable from matlab rather than having to enter manually?
Antworten (1)
A Jenkins
am 4 Mär. 2015
1 Stimme
Kategorien
Mehr zu Simulink Functions finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!