I have a MATLAB program that displays some things and then prints a graph to a file. If I run this program several times in the same directory, the file is overwritten each time. How can I make the name of the file that it issues change ...
I currently have this:
print -depsc myfigure
I have strings, speed and name that I want to use, but cannot make anything work. If I can not use my lines, then random will be fine. Any way to do this?
Many thanks!
source
share