I generate lots of figures in my daily tasks. Sometimes finding the script that generated a plot months ago can be difficult. This will save the name and path of the calling function in the "Name" field of the fig object.
Richard Moore (2023). saveFigDetails(filename) (https://www.mathworks.com/matlabcentral/fileexchange/52638-savefigdetails-filename), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!