Pop-up menu in Simulink with dependent values

Pop-up menu in Simulink with dependent values

Post by Katrina Sc » Mon, 06 Feb 2006 22:52:31


Hi!

I want to create a pop-up-menu in Simulink with "edit mask" that has
two Dialogues.
In the first dialogue you can choose between "a", "b" and "c".
The variables for dialogue 2 should depend on the variable chosen in
dialogue 1:
- If "a" is chosen in dialogue 1, in dialogue 2 should be displayed:
"a1", "a2", "a3".
- If "b" is chosen in dialogue 1, in dialogue 2 should be displayed:
"b1", "b2", "b3".
- If "c" is chosen in dialogue 1, in dialogue 2 should be displayed:
"c1", "c2", "c3".

So, my question: is this possible? I've tried everything with
callbacks but nothing worked (I have to admit I'm not good at it!).
PLEASE!! Help me!
Thank you!
Katrina
 
 
 

Pop-up menu in Simulink with dependent values

Post by Nava » Wed, 08 Feb 2006 03:15:26


It is not possible to change the choices within one-popup
dynamically. But you can create three different pop-up options and
show only one depending on the choice made in the first pop-up. You
can control the visibility using MaskVisibility property.

Navan