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
- On the MATLAB Toolstrip, click the Apps tab. 
- On the Apps tab, click the down arrow at the end of the Apps section. 
- Under Math, Statistics and Optimization, click the PDE button. 
Use Commands
- To open a blank PDE Modeler app window, type - pdeModelerin the MATLAB Command Window.
- To open the PDE Modeler app with a circle already drawn in it, type - pdecircin the MATLAB Command Window.
- To open the PDE Modeler app with an ellipse already drawn in it, type - pdeellipin the MATLAB Command Window.
- To open the PDE Modeler app with a rectangle already drawn in it, type - pderectin the MATLAB Command Window.
- To open the PDE Modeler app with a polygon already drawn in it, type - pdepolyin 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)