Log actual/real simulation time in simulink

2 次查看(过去 30 天)
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?

回答(1 个)

Rebecca Krosnick
Rebecca Krosnick 2015-12-24
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

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by