MATLAB: Variant control for variant subsystems with mask parameters

simulinksubsystemsvariant control

Hello everybody,
I'm currently working a lot with referenced and variant subsystems and I'm wondering whether you could set the block mask parameters to control the variants.
I want a similar behavior as in the simulink PID(s)-block where you can choose the controller type via drop-down menus in the block mask. I don't see any possibility yet, to use other variables then the ones from the base workspace.
Any advice would be appreciated.

Best Answer

I think a good description can be found here: http://blogs.mathworks.com/seth/2008/08/13/dynamic-mask-dialogs/