sf: Quick figure saving

Quick figure saving
4 Downloads
Updated 29 Dec 2025

View License

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 Linux
Version Published Release Notes
1.0.0