Dear community members,
as configurable subsystems are not longer supported I decided to switch to variant subsystems. My aim is to have a converter which automatically changes cs into vs. For this reason I need to do all necessary steps by commandline.
I tried to read the subsystem parameters of a variant subsystem I created. All I got was 'ActiveVariant' and similar things but I didn't manage to read the "Variant Choices" table which contains the connection between Name, Variant Object and Condition. By searching the Simulink documentation I found the parameter 'Variants' which seems to contain that information. My problem is that for the variant subsystem I have in hand this property doesn't exist. For
get_param('test_variant', 'Variants');
I get the error message
??? SubSystem block does not have a parameter named 'Variants'.
I am using Matlab 2010b SP1. Is there a possibility to read the "Variant Choices" information?
Thanks in advance, Bettina