How can i export data from simulink to workspace?

7 visualizaciones (últimos 30 días)
piston_pim_offset
piston_pim_offset el 1 de Abr. de 2021
Respondida: Reshma Nerella el 4 de Abr. de 2021
I have designed a basic model on simulink with using " To workspace" block. When i run it, only something named SimulationOutput appears where my data is in. How can i export my data directly to the work space?
  2 comentarios
Mathieu NOE
Mathieu NOE el 2 de Abr. de 2021
this is a structure - to access each individual components (whatever their dimensions are) , do like this :
t = out.simout.Time;
data = out.simout.Data;

Iniciar sesión para comentar.

Respuestas (1)

Reshma Nerella
Reshma Nerella el 4 de Abr. de 2021
Hi,
There are several ways in which you can export your Simulation data to Matlab workspace.
Refer to this documentation: Export Simulation Data

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by