FUNCTION REFERENCE
profsave
Save a profiler snapshot as plain HTML files.
Save a profiler snapshot as plain HTML files.
Syntax
profsaveSyntax
profsave(p)Syntax
profsave(p, folder)Without p, stops collection and reads profile('info'). The default destination is profile_results in Current Folder. Creates file0.html with the summary and file1.html, file2.html, etc. with escaped source-line listings. A missing destination folder is created. Pass the structure returned by profile('info').
Example
p=profile('info'); isempty(p.FunctionTable) % true in a fresh sessionDifferences from MATLAB: Plain HTML without scripts or interactive navigation; source listing uses retained source when available, otherwise reads FileName. Output is limited to 64 MiB. Clock values and timers follow profile's documented MatRust limits.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.