Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Use Stateflow to react on physical parameters and adjust system parameters accordingly
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I am trying to implement a control loop for a physical system via Stateflow. Within the Stateflow logic the physical signal should be evaluated and depending on it one parameter of the physical system (Simscape) adapted during runtime. All attempts on trying to realize this system have failed so far because a) Simscape does not allow to change parameters during runtime b) there seems to be a problem concerning algebraic loops such as this control loop. My focus so far has been on changing the input for the element and thus its characteristics depending on a PS converted Simulink signal created by Stateflow. Is there another way to solve this problem avoiding problem a) and b) or should my Ansatz generally work and I have made another mistake?
Thank you!
0 comentarios
Respuestas (1)
Shivang Menon
el 24 de Mzo. de 2017
Question has been answered at - https://www.mathworks.com/matlabcentral/answers/329023-implement-switch-with-stateflow-input-in-simscape-hydraulic-system
0 comentarios
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!