Setting/Tuning parameters of a Simulink model in Realtime
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am currently working on a desgin of a GUI for a Real-time Simulink model. The problem I am facing is that in real-time I have no access to all the parmeters in my model like the resistance or capacitance.
I simulated a simple model for illustration and I attached the screenshots.
In addition , I also tried to use instrument panel in Simulink Real-time explorer to tune the parameters in realtime but I had the same problem which is the limitation of the parameters I can tune.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/220342/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/220343/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/220344/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/220345/image.jpeg)
0 comentarios
Respuestas (2)
Diego Kuratli
el 15 de Sept. de 2019
Instead of the Resistor and Capacitor blocks, use Variable Resistor and Variable Capacitor.
0 comentarios
Jonas
el 16 de Sept. de 2019
I believe Diego's suggestion will help.
I would also suggest to use Simulink Parameter variables inside the Model workspace and change those instead of the values inside the blocks directly.
0 comentarios
Ver también
Categorías
Más información sobre Target Computer Setup en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!