I have about 900 data sets to be analysed and that can be done with single program. Using a loop for d=1:900 I'm able to do that. for d=1 the first data set is analysed and I get about 5 plots and a work space. Similarly for d=2 till d=900. I want to know if there is a code which saves the plots and work spaces to a folder after executing the program for each data set i.e., for each d=integer a separate folder having corresponding plots and work spaces. If it is possible also suggest me a way to name those folders differently so that they don't get replaced because of having the same name.
MATLAB: I use MATLAB 2011. Related to the questions I asked yesterday. How to save plots and work space to a folder automatically that come in a loop.
srinath
Related Question
- How to save figures in a for loop
- I use matlab. I load a data(.dat) file and run the program on it and get results. I have 900 such data files and want to write a loop such that at the end I get results corresponding to all data files at once. Is there a way to do it
- How can i have three plots on one graph and save all three plots using one name
- Writing an image into a new folder
Best Answer