8.2. MATLAB® Editor

MATLAB Editor not only contains basic text editing features but also provides the user with additional facilities such as debugging tools. The Editor/Debugger has proper graphical user interface for ease in programming. It also supports automatic indenting and highlighting to indicate special parts of the program such as keywords, text strings and comments. It also allows a user to observe the values of the variables/constants in the program. Features like setting/clearing breakpoints and executing programs line by line are also available to aid the programmer in effectively debugging the program.

8.2.1. Opening the Editor

The Editor can be opened in a number of ways, which are as follows:

  1. Selecting New from the File menu ...

Get MATLAB® and Its Applications in Engineering: [Based on MATLAB 7.5 (R2007b)] now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.