Getting Started |
Editor/Debugger
Use the Editor/Debugger to create and debug M-files, which are programs you write to run MATLAB functions. The Editor/Debugger provides a graphical user interface for text editing, as well as for M-file debugging. To create or edit an M-file use File -> New or File -> Open, or use the edit
function.
You can use any text editor to create M-files, such as Emacs. Use preferences (accessible from the desktop File menu) to specify that editor as the default. If you use another editor, you can still use the MATLAB Editor/Debugger for debugging, or you can use debugging functions, such as dbstop
, which sets a breakpoint.
If you just need to view the contents of an M-file, you can display the contents in the Command Window using the type
function.
For More Information
See Editing and Debugging M-Files in the MATLAB Desktop Tools and Development Environment documentation, and the function reference pages for edit , type , and debug . |
Array Editor | M-Lint Code Check and Profiler Reports |
© 1994-2005 The MathWorks, Inc.