Log actual/real simulation time in simulink
2 views (last 30 days)
Show older comments
Hello,
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?
0 Comments
Answers (1)
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
0 Comments
See Also
Categories
Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!