Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

profsave - Save profile report in HTML format

Syntax

profsave
profsave(profinfo)
profsave(profinfo,dirname)

Description

profsave executes the profile('info') function and saves the results in HTML format. profsave creates a separate HTML file for each function listed in the FunctionTable field of the structure returned by profile. By default, profsave stores the HTML files in a subfolder of the current folder named profile_results.

profsave(profinfo) saves the profiling results, profinfo, in HTML format. profinfo is a structure of profiling information returned by the profile('info') function.

profsave(profinfo,dirname) saves the profiling results, profinfo, in HTML format. profsave creates a separate HTML file for each function listed in the FunctionTable field of profinfo and stores them in the folder specified by dirname.

Examples

Run profile and save the results.

profile on
plot(magic(5))
profile off
profsave(profile('info'),'myprofile_results')

See Also

profile

Profiling for Improving Performance in the MATLAB Desktop Tools and Development Environment documentation

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS