Custom Print File Name
显示 更早的评论
Hello!
I have the following line of code that exports a chart as a PNG file:
print -dpng printname.png -r250
I was wondering if I had a variable called "printaname" - how could I make Matlab save this file with that variable as the name fo the output image file? example if the printaname = AUD23-234 , the file would be AUD23-234.png.
Thanks! Dima
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Scripts 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!