My most used utility to quickly save figures as pngs (or figs if desired) using a minimal shorthand.
Optional inputs: folder, filetype, filename, fig handle
Defaults:
Filename: datestring
Folder: whatever default folder you like (e.g.: Results/)
Filetype: png
Fig handle: current figure
Minimal example:
sf('myfilename')
or just sf()
Cite As
Natalie Mujica-Schwahn (2026). sf: Quick figure saving (https://uk.mathworks.com/matlabcentral/fileexchange/182936-sf-quick-figure-saving), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2025b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
