Clear Filters
Clear Filters

Alternative to change simscape parameters during run-time

3 views (last 30 days)
As far as I can see it is not possible to change Simscape parameters during runtime. Is this correct? In my Simulation I have to turn a pump in a hydraulic system on and off depending on the pressure within the system. What is the best way to realize this? Thank you very much!

Accepted Answer

Alicia Roder
Alicia Roder on 20 Mar 2017
For a fixed-displacement pump driven by a ideal angular velocity source the pump can be turned on and off via a simulink-PS converted output signal (e.g. 0 and 1) from Stateflow fed into the S-port of the ideal angular velocity source.

More Answers (1)

Alisha Schor
Alisha Schor on 20 Mar 2017
Edited: Alisha Schor on 20 Mar 2017


Find more on Run-Time Parameters in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!