Example: Save variables & figures in a seperate folder
Version 1.0.0.0 (1003 Bytes) by
Harish Sasikumar
This is a complete & commented block of code to save variables & figures in a seperate folder
This block of code
1) creates a new folder by the name 'Output' (inside current folder)
2) saves all the current variables into that folder
3) saves a graph/figure (in .fig & .jpeg formats) into that folder
Cite As
Harish Sasikumar (2024). Example: Save variables & figures in a seperate folder (https://www.mathworks.com/matlabcentral/fileexchange/50317-example-save-variables-figures-in-a-seperate-folder), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2015a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Workspace Variables and MAT-Files in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |