8.9. MATLAB Debugger
The MATLAB Debugger helps in identifying programming errors in a MATLAB M-file. It allows the user to view the contents of the workspace at any time during function execution and examine or change their values. It facilitates the user to execute M-file statements line by line. Further, the user can define points where the program execution stops temporarily to allow the user to examine the status of the program, its variables, their values and so on to ensure that the program segment till that point is without any runtime errors. The programmer can then continue execution from that point onwards. Such points where the execution of the program stops for a while are known as Breakpoints. Debugger can be used through its graphical ...
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.