Abstract

This chapter explains the debugging and profiling tools that are available in MATLAB. The chapter starts by explaining the difference between syntax errors and runtime errors. The use of MATLAB debugging tools to track runtime errors is explained by using examples. Debugging tools such as Breakpoint , stepping in a script file, stepping into a function, and conditional Breakpoint are also explained. The use of the MATLAB Profiler tool to optimize and time sections of MATLAB code is also discussed, and further examples are provided. The MATLAB benchmarking tool, which may be used to evaluate the computational speed performance of a computer, is also explained here. This chapter is concluded by explaining the correct use of code indentation within MATLAB.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.