Issue in To workspace block in 2019b

4 次查看(过去 30 天)
I have a simulink model which uses to workspace block. The to workspace block is set to a 'array' that outputs variable in to my matlab workspace window. When I run the model, it runs and output on matlab workspace occure as out which gives 1*1 simulationout structure and there is my variable and I am unable to getting this variable but with lower version of matlab I were directly getting array variable how should I solve this problem?

回答(2 个)

Fangjun Jiang
Fangjun Jiang 2019-12-5
Drag a "To Workspace" block from the library, if you only change the fomat from "Timeseries" to "array", then the variable in the workspace is out.simout
  7 个评论
Fangjun Jiang
Fangjun Jiang 2020-9-24
assign a return variable, Result=sim('model.slx');
divakar kuruna
divakar kuruna 2021-9-30
hii i also faced this issue but the solution is
modeling>>model settings>>disable single simulation output

请先登录,再进行评论。


divakar kuruna
divakar kuruna 2021-9-30
hii i also faced this issue but the solution is
modeling>>model settings>>disable single simulation output

类别

Help CenterFile Exchange 中查找有关 Computer Vision with Simulink 的更多信息

标签

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by