To Workspace block not returning results when simulating using SimulationInput objects
11 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 22 Gen 2019
Risposto: MathWorks Support Team
il 27 Mar 2019
Why are To Workspace blocks not creating variables with the assigned names in the Base Workspace when I run my model using a 'SimulationInput' object?
Risposta accettata
MathWorks Support Team
il 22 Gen 2019
When running a model using
out = sim(in)
where 'in' is a 'SimulationInput' object, a To Workspace block does not give the assigned variable name, e.g. 'simout', in the Base Workspace. Instead, the To Workspace block variable 'simout' is given as part of the 'SimulationOutput' object generated by 'sim', i.e. in this case 'out.simout'.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Sources in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!