To display the mesh in a MATLAB figure, use the function mphmesh. Make sure that the mesh is built before calling this command:
Adding a view property will add some view settings from the COMSOL model such as axes labels (units) and grid and supports hiding of mesh entities. Usually it is sufficient to use the
auto value for the view property:
Use the parent property to specify the axes handle where to display the plot: