LiveLink™ for MATLAB® Updates
For users of LiveLink™ for MATLAB®, COMSOL Multiphysics® software version 5.5 brings mphnavigator
support for the properties and methods panels, updated mphgeom
to plot work planes, and a new function called mphmeasure
, which can be used to measure geometries. Browse all LiveLink™ for MATLAB® updates below.
Mphnavigator and Mphmodellibrary
In mphnavigator
, a new feature Tools > copy code: loop has been added. This allows you to select a node in the model tree and copy code to the clipboard that can be used to loop through the children of the selected node. Together with the existing copy-to-clipboard functionality, it is possible to autogenerate code for many usage scenarios. Tools > Solutions show an improved overview of solutions, studies, and datasets, and it is faster than before.
mphmodellibrary
now supports user-defined libraries. Such libraries must be added using COMSOL Desktop®.
Mphgeom
It is possible to plot a single work plane as a 2D geometry using this syntax:
mphgeom(model, 'geom1', 'workplane', 'wp1')
Mphmeasure
It is now possible to measure entities in a geometry using the following syntax:
[m1,m2]=mphmeasure(model,geomtag,entity,…)
Depending on the entity, you can measure distances, areas, volumes, and more in a geometry.
Mphplot
mphplot
and other plotting functions have improved support for plotting in windows created by the App Designer, which uses uiaxes objects for plotting as opposed to the regular axes objects in MATLAB® figures and user interfaces created by GUIDE.
Mphtable
This function now supports evaluation groups as well as tables to extract numerical data from a model.
MATLAB is a registered trademark of The MathWorks, Inc.