Getting Feature Model Properties
Use the command mphgetproperties to extract, at the MATLAB® prompt, the properties of a specified node of the model object. Not all nodes contains properties. Use the command:
str = mphgetproperties(model.<feature>)
where str is a MATLAB structure that lists all the properties and the value of the feature node <feature>.
Some model nodes also provide a list of allowed value for their properties. To get such a list, enter the command:
[str, allowed] = mphgetproperties(model.<feature>)
This command also returns the MATLAB structure allowed containing the list of the allowed values for the properties of the feature node <feature>.
If you want to filter the properties in the output, use the property propnames as in the following command:
str = mphgetproperties(model.<feature>,'propnames',{<prop>,...})
where <prop> is the property name to show only in the output structure.
Set the property returnstrings to off to get the property data not as strings as in the following command:
str = mphgetproperties(model.<feature>,'returnstrings','off',...)
You can get the selection of the properties with the property showsel set to on as described below:
str = mphgetproperties(model.<feature>,'showsel','on',...)