How can I access both data and time from the running simulink model and use it in a particular program?

8 Ansichten (letzte 30 Tage)
How can I access both data and time from the running simulink model and use it in a particular program?

Antworten (1)

Jim Riggs
Jim Riggs am 7 Nov. 2022
Simulink has a "to workspace" block which saves the time history of the model data to the Matlab workspace in a variable that you name. The default output type is a "time series", which automatically includes the simulation time with the data.

Kategorien

Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by