To display the mesh in a MATLAB figure, use the function mphmesh. Make sure that the mesh is built before calling this command:
The mphmesh function will use some of the view settings that are common between COMSOL and MATLAB to show content such as axes labels (units) and grid and supports hiding of geometric entities. This is controlled using the
view option. To switch off the use of view settings set the
view option to
none:
Use the parent property to specify the axes handle where to display the plot: