| MATLAB Function Reference | ![]() |
Syntax
Description
profreport
suspends the profile function, generates a profile report in HTML format using the current profile results, and displays the report in a Web browser. This presents the information in a different format from the Profiler reports.
profreport(basename)
suspends profile, generates a profile report in HTML format using the current profile results, saves the report using the basename you supply, and displays the report in a Web browser. Because the report consists of several files, do not provide an extension for basename.
profreport(stats)
suspends profile, generates a profile report in HTML format using the info results from profile, and displays the report in a Web browser. Here, stats is the profile information structure returned by stats = profile('info').
profreport(basename,stats)
suspends profile, generates a profile report in HTML format using the stats result from profile, saves the report using the basename you supply, and displays the report in a Web browser. Here, stats is the profile information structure returned by stats = profile('info'). Because the report consists of several files, do not provide an extension for basename.
Examples
Run profile and view the structure containing profile results.
profile for code that computes the Lotka-Volterra predator-prey population model.
See Also
Measuring Performance" and "The profile Function" in MATLAB Programming documentation
| profile | propedit | ![]() |