External Interfaces |
|
Debugging on Windows
Compaq Visual Fortran
If you are using the Compaq (or DIGITAL) Visual Fortran compiler, you use the Microsoft debugging environment to debug your program.
- Start the Microsoft Visual Studio by typing at the DOS prompt
- In the Microsoft environment, from the Project menu, select Settings. In the window that opens, select the Debug tab. This options window contains edit boxes. In the edit box labeled Executable for debug session, enter the full path where MATLAB resides. All other edit boxes should be empty.
- Open the source files and set a break point on the desired line of code by right-clicking with your mouse on the line of code.
- From the Build menu, select Debug, and click Go.
- You will now be able to run your MEX-file in MATLAB and use the Microsoft debugging environment. For more information on how to debug in the Microsoft environment, see the Microsoft Development Studio documentation.
| Debugging on UNIX | | Calling MATLAB from C and Fortran Programs | |
© 1994-2005 The MathWorks, Inc.