Issue in To workspace block in 2019b

7 Ansichten (letzte 30 Tage)
Moreshwar Inamdar
Moreshwar Inamdar am 5 Dez. 2019
Beantwortet: divakar kuruna am 30 Sep. 2021
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?

Antworten (2)

Fangjun Jiang
Fangjun Jiang am 5 Dez. 2019
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 Kommentare
Fangjun Jiang
Fangjun Jiang am 24 Sep. 2020
assign a return variable, Result=sim('model.slx');
divakar kuruna
divakar kuruna am 30 Sep. 2021
hii i also faced this issue but the solution is
modeling>>model settings>>disable single simulation output

Melden Sie sich an, um zu kommentieren.


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

Kategorien

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

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by