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

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

采纳的回答

stozaki
stozaki 2020-2-28
编辑:stozaki 2020-2-28
"ans" is most recent answer.
"out" is simulation output (default setting of model configuration)

更多回答(0 个)

类别

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

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by