Issue in To workspace block in 2019b

4 vues (au cours des 30 derniers jours)
Moreshwar Inamdar
Moreshwar Inamdar le 5 Déc 2019
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?

Réponses (2)

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

Connectez-vous pour commenter.


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

Catégories

En savoir plus sur Computer Vision with Simulink dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by