saving a figure as .png with name of a parameter
Show older comments
Hallo everyone, I am trying to save a fig as an image (.png) but I want the .png file to have a specific name of one parameter. For exapmle, I have created the str called "name"
name=strcat('quicklook_',dd, '/', mm, '/', yyyy);
and I am trying to save it with the following command
print(name,'-dpng','-r300')
but it doesn't work.
Any ideas?
Accepted Answer
More Answers (1)
rania
on 25 Jun 2018
0 votes
Categories
Find more on Video Formats and Interfaces in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!