Programming and Data Types    

Measuring Performance

One way to improve the performance of your M-files is measuring performance using profiling tools. MATLAB provides the M-file Profiler, a graphical user interface that is based on the results returned by the profile function. Use the Profiler to help you determine where you can modify your code to make performance improvements. This section covers the following topics:


  Program 4 -- Tic-Tac-Toe What Is Profiling?