Simulink get_param and RuntimeObject
Mostra commenti meno recenti
Hello!
Is there a way to write this command: rto_add = get_param('TestMdl2/Add','RuntimeObject'); in one of the "Model callbacks" and to work while running the simulation?
I read that is possible to get the result if I use the PostLoadFcn function. The article said: "In a PostLoadFcn callback routine, however, get_param returns the model's parameter values because the model is loaded."
But it's not working...
What I want to do is to get my result and to display it on a GUI, but in real time while running the simulation.
Thanks!
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Model, Block, and Port Callbacks 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!