Development utility function. Instead of copy-pasting to a notepad file and managing useful little code snippits, you can call "snagit".


Updated 13 Apr 2020

View License

While developing you'll often have little bits of code you want to keep track of.

This little utility will cache items in memory to a "snagFile".
Whatever was in the clipboard is pasted to the snagFile, when you type 'snagit'.

The snagFile is located in the directory of snagit.m (by default)

View all contents with "snagit('show')" and clear the logged snagFile with "snagit('clear')"

Cite As

Josh Philipson (2023). snagit (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Editing my name


Updated Description