How to read out value from simout object
Mostra commenti meno recenti
I'm running the simulation from the Matlab script via sim() and I need to read output variables and since model is hierachivsl - how can I access the resulting values?
The values I want ot get are at subsystem:
global_model/control_loop with variable at "Out" port 6, named "my_estim"
and within Variant subsystem
global_model/plant/Variant Subsystem1/Lumped (abc_param) at port 8, named "my_ctrl"
running the model from cmd line: simout = sim("global_model.slx");
how to read these variables out of simout aka plot(simout.yout.get('my_estim').Values);
how to read these variables?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Event Functions in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

