Log actual/real simulation time in simulink

2 visualizzazioni (ultimi 30 giorni)
mkmat
mkmat il 22 Dic 2015
Risposto: Rebecca Krosnick il 24 Dic 2015
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?

Risposte (1)

Rebecca Krosnick
Rebecca Krosnick il 24 Dic 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

Categorie

Scopri di più su Prepare Model Inputs and Outputs in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by