About The Model Object
The model object contains all the information about a model, from the geometry to the results. The model object is defined on the COMSOL Multiphysics server and can be accessed at the MATLAB command line using a link in MATLAB.
1
2
model = ModelUtil.create('Model');
The model object on the COMSOL Multiphysics server has the tag Model, while the variable model is its link in MATLAB.
To access and modify the model object, use the COMSOL API syntax. You can get the documentation of a specific API command with the function mphdoc.
3
To get the documentation of the node model from the COMSOL Programming Reference Manual, enter:
mphdoc(model)
4
mphdoc(model.geom,'WorkPlane')