Development Environment    

Using the Profiler

Use the profile function to generate and view statistics.

  1. Start the profiler by typing profile on in the Command Window. Specify any options you want to use.
  2. Execute your M-file.

    The profiler counts how many seconds each line in the M-files use. The profiler works cumulatively, that is, adding to the count for each M-file you execute until you clear the statistics.

  1. Use profile report to display the statistics gathered in an HTML-formatted report in your system's default Web browser.

 What Is Profiling? The profile Function