mphmodel
Return tags for the nodes and subnodes in the COMSOL model object.
Syntax
mphmodel(model)
str = mphmodel(model,'-struct')
Description
mphmodel(model) returns the tags for the nodes and subnodes of the object model.
str = mphmodel(model,'-struct') returns the tags for the nodes and subnodes of the object model as a MATLAB® structure str.
The function mphmodel can be used when navigating the model object and learning about its structure. The mphmodel function is mainly designed for usage when working on the command line and one needs to learn what nodes are placed under a particular node.
Example
Load the model busbar.mph and get the list of the nodes available under the root node:
model = mphopen('busbar')
mphmodel(model)
Get the model information as a structure:
res = mphmodel(model, '-struct')
See also
mphgetexpressions, mphgetproperties, mphgetselection, mphnavigator, mphsearch, mphshowerrors