Hello ,how can i save my created figure with a name which involves the directory name , where the figure was created.
for example if i plot some graths inside a folder called "grades" then i would like to have the figure saved as a jpg file called grades_90,i dont know the name of the folder. It needs to save it as foldername_90 is there a way to do it ? i know there is a save as command but i dont know how to get the folder name and involve it in this command saveas(h,'filename.jpg')
Thanks
Best Answer