Dynamic Mask Parameters
Ältere Kommentare anzeigen
“Hi,
I have the following simulink model. I have a simulink block that calculates a water requirement (double) and delivers it as an output, which is then passed on to a water tank (as a double) that delivers said requirement.
I would like the water tank to be a masked subsystem, which has dynamic parameters but I don't know how to make the calculated water requirement a variable that can be read by the masked block parameters dialog box.
Kind regards,
Damian”
Antworten (1)
Fangjun Jiang
am 22 Sep. 2011
1 Stimme
It can be done but I can't understand your use case. The "water requirement" is calculated by some Simulink blocks and it is passed to the "water tank" (presumably by a signal line). Why do you still need to pass it to the "water tank" through a masked parameter?
A signal changes its value at every time step. A parameter changes its value much less often, most likely once for every simulation.
Kategorien
Mehr zu Modeling finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!