Main Content

Open the PDE Modeler App

You can open the PDE Modeler app using the Apps tab or typing the commands in the MATLAB® Command Window.

Use the Apps Tab

  1. On the MATLAB Toolstrip, click the Apps tab.

  2. On the Apps tab, click the down arrow at the end of the Apps section.

  3. Under Math, Statistics and Optimization, click the PDE button.

Use Commands

  • To open a blank PDE Modeler app window, type pdeModeler in the MATLAB Command Window.

  • To open the PDE Modeler app with a circle already drawn in it, type pdecirc in the MATLAB Command Window.

  • To open the PDE Modeler app with an ellipse already drawn in it, type pdeellip in the MATLAB Command Window.

  • To open the PDE Modeler app with a rectangle already drawn in it, type pderect in the MATLAB Command Window.

  • To open the PDE Modeler app with a polygon already drawn in it, type pdepoly in the MATLAB Command Window.

You can use a sequence of drawing commands to create several basic shapes. For example, the following commands create a circle, a rectangle, an ellipse, and a polygon:

pderect([-1.5,0,-1,0])
pdecirc(0,0,1)
pdepoly([-1,0,0,1,1,-1],[0,0,1,1,-1,-1])
pdeellip(0,0,1,0.3,pi)