MATLAB: How to get a list of variants from a variant subsystem

commandget_paramlinesimulinksubsystemvariantvariants

How can I list all the possible variants of a variant subsystem from the command line?

Best Answer

Click the block and then enter at the MATLAB command line:
>> get_param(gcb,'Variants')
Note: 'Variants' is a hidden parameter and does not show up when you enter:
>> get_param(gcb,'ObjectParameters')