Introduction to MATLAB & SIMULINK: A Project Approach, Third Edition

1.7: MATLAB EDITOR AND DEBUGGER

1.7 MATLAB EDITOR AND DEBUGGER

The editor- debugger integrated into the MATLAB program package has again been substantially improved in terms of ease and functionality in MATLAB 7. The capabilities of this tool, which we have used throughout Section 1.6, will be reemphasized here. Unfortunately, at this point we can only provide a very brief overview of the capabilities of the editor-debugger. We limit ourselves to a few topics that will probably be of use to the beginner. Advanced users will find that many more functions are available.

1.7.1 Editor Functions

As noted in Section 1.6.1, the editor is started up when an m-file is opened or newly set up using the menu commands File - open ... or File - new. The integrated Editor-debugger will be automatically employed in MATLAB, unless another editor has been installed in Preferences, but there is generally no need for that and it should be avoided.

The editor is also opened up automatically by double clicking on an m-file in the Current directory window or by right-clicking Open in the context menu.

Likewise, the editor is opened and an m-file created if you mouse click a group of commands in the History window or (alternatively) press the Shift- or Control- key and then right click Create m-file in the context menu. This is especially interesting for the simple creation of script files with which successful MATLAB command sequences can be assembled into meaningful...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Web Browsers
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.