Why is the data saved in a struct when 'To Workspace' block is used?

2 visualizaciones (últimos 30 días)
From a few days ago, every time I use to workspace block in a model the data is saved in a struct called ans (if the model is runned from the matlab) or in a struct called out (if the model is runned from the simulink). Do you know why? And can this be solved?

Respuesta aceptada

stozaki
stozaki el 28 de Feb. de 2020
Editada: stozaki el 28 de Feb. de 2020
"ans" is most recent answer.
"out" is simulation output (default setting of model configuration)

Más respuestas (0)

Categorías

Más información sobre Simulink Environment Customization en Help Center y File Exchange.

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by