Dynamic Mask Parameters

“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”

Respuestas (1)

Fangjun Jiang
Fangjun Jiang el 22 de Sept. de 2011

1 voto

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.

Categorías

Más información sobre Modeling en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 22 de Sept. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by