Commands Grouped by Function
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.
mphsave
Save a COMSOL model.
mphstart
Connect MATLAB to a COMSOL
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.
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.
Utility Functions
Function
Purpose
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.
Postprocessing Functions
Function
Purpose
mphaddplotdata
Add a data plot to a model.
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.
mphtable
Get table data.
mphray
Evaluate expressions on ray trajectories.
Model Information and Navigation
Function
Purpose
mphapplicationlibraries
GUI for viewing the product Application Libraries.
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 nodes in a COMSOL model.
mphthumbnail
Get and set model thumbnail images