Problem with print function

8 次查看(过去 30 天)
JFz
JFz 2018-1-26
评论: JFz 2018-1-26
Hi, I use print('-f1', filename, '-djpeg') to save a figure into a remote drive and it worked as a charm yesterday.
But for some strange reason, it stoped working and keep giving me this error: Error in print (line 85) pj = name( pj );
I checked and can manually save the figure into that drive with a different file name. I also checked that there is not conflict file name on that drive. But it just keeps issuing this error. Why all the sudden it is not working? I have full access to that remote drive; and the file name is new; and I can save it manually and I can save the figure to my local drive.
Thanks for any help!
  6 个评论
JFz
JFz 2018-1-26
I just found the error here. The filename is concatenated and one part (which indicates date) is wrong. I think that is the reason.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by