Log actual/real simulation time in simulink

1 view (last 30 days)
mkmat on 22 Dec 2015
Answered: Rebecca Krosnick on 24 Dec 2015
I log my variables in a simulink model and I would like to log the real time of simulation as well. For example, to have the valiables and time as an array: [mm:hh ; mm:hh].
Any help?

Answers (1)

Rebecca Krosnick
Rebecca Krosnick on 24 Dec 2015
Simulink does not provide a feature for this, but the following MATLAB Answers post provides some workarounds: http://www.mathworks.com/matlabcentral/answers/30479-how-to-get-system-date-and-time-into-simulink

Community Treasure Hunt

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

Start Hunting!

Translated by