Commands Grouped by Function
Model Manager Functions
Function
Purpose
mmgetalltags
Get all assigned tags for a branch
mmgetbranch
Get branch variable in Model Manager
mmgetcommit
Get commit message from an item
mmmodelinfo
Get model information for models stored in Model Manager or MPHÂ files
mmsave
Save model in Model Manager
mmsearch
Full-text and keyword search in Model Manager
Interface Functions
Function
Purpose
mphcd
Change the directory to the directory of the model
mphdoc
Open help window for a certain topic
mphlaunch
Launch a COMSOL Multiphysics Client, connect it to the server and load a model
mphload
Load a COMSOL model MPH file
mphopen
GUI for opening recent model files
mphrun
Call run on nodes in the COMSOL model
mphsave
Save a COMSOL model
mphsetparam
Set parameter values
mphstart
Connect MATLAB to a COMSOL
server
mphstartcomsolmphserver
Start a COMSOL Multiphysics server
mphthumbnail
Set or get model thumbnail
mphversion
Return the version number of COMSOL Multiphysics
Geometry Functions
Function
Purpose
mphgeom
Plot a geometry in a MATLAB figure.
mphgeominfo
Get geometry information.
mphimage2geom
Convert image data to geometry.
mphmeasure
Measure entities in a geometry.
mphviewselection
Display a geometric entity selection in a MATLAB figure.
Mesh Functions
Function
Purpose
mphmesh
Plot a mesh in a MATLAB figure.
mphmeshstats
Return mesh statistics and mesh data information.
mphwritemesh
Write mesh data as an mphtxt, mphbin or STL file.
Utility Functions
Function
Purpose
mphbatchinfo
Get information about the batch solution structures
mphevaluate
Evaluate Parameters expressions in model.
mphgetadj
Return geometric entity indices adjacent to each other.
mphgetcoords
Return point coordinates of geometry entities.
mphgetu
Return solution vectors.
mphinputmatrix
Add matrix system for a linear solver.
mphinterpolationfile
Save data in file readable by the Interpolation feature.
mphmatrix
Get model matrices.
mphquad2tri
Convert plot data quad mesh into simplex mesh.
mphreadstl
Read an STL file and returns the data as a struct.
mphreduction
Return reduced-order state-space matrices for a model.
mphselectbox
Select a geometric entity using a rubber band/box.
mphselectcoords
Select a geometric entity using point coordinates.
mphsolinfo
Get information about a solution object.
mphsolutioninfo
Get information about solution objects and datasets containing given parameters.
mphstate
Get state-space matrices for dynamic systems.
mphsurf
Create plot data structure from surf data.
mphwritestl
Export plot data as an STL file.
mphxmeshinfo
Extract information about the extended mesh.
Results-Processing Functions
Function
Purpose
mphaddplotdata
Add a data plot to a model.
mphcolortable
Return colortable data.
mphdataset
Plot a dataset.
mphdatasetinfo
Get information about datasets.
mpheval
Evaluate expressions on node points.
mphevalglobalmatrix
Evaluate global matrix variables.
mphevalpoint
Evaluate expressions at geometry vertices.
mphevalpointmatrix
Evaluate matrix quantities at points in the geometry
mphglobal
Evaluate global quantities.
mphint2
Perform integration of expressions.
mphinterp
Evaluate expressions in arbitrary points or datasets.
mphmax
Perform maximum of expressions.
mphmean
Perform mean of expressions.
mphmin
Perform minimum of expressions.
mphparticle
Evaluate expressions on particle trajectories.
mphplot
Render a plot group in a figure window.
mphray
Evaluate expressions on particle and ray trajectories.
mphreport
Generate report to model or write report.
mphstddev
Calculate standard deviation of expressions.
mphtable
Get table data.
Model Information and Navigation
Function
Purpose
mphapplicationlibraries
GUI for viewing the product Application Libraries.
mphcomponentinfo
Get information about a component.
mphgetexpressions
Get the model variables and parameters.
mphgetproperties
Get properties from a model node.
mphgetselection
Get information about a selection node.
mphmodel
Return tags for the nodes and subnodes in the COMSOL model object.
mphnavigator
GUI for viewing the COMSOL model object.
mphsearch
GUI for searching expressions in the COMSOL model object.
mphshowerrors
Show messages in error and warning nodes in the COMSOL model object.
mphtags
Get tags and names for model nodes.
mphthumbnail
Get and set model thumbnail images