Problem applying settings for exporting figures

3 次查看(过去 30 天)
I am having issues applying settings to my figures on the GUI. I get the following error message* when I click on Apply to figure. It appears to me that matlab is not able to access its CD. I have no idea why the CD here does not appear to be same as the current folder on my matlab workspace. I have used matlab for a couple of years now and this is the first time this problem has appeared. Any idea if there are any defaults that I need to change?
Error message:
Error using <matlab:helpUtils.errorDocCallback('cd')" style="font-weight:bold cd>
Cannot CD to C:\Users\a_user\AppData\Local\Temp; E:\ProgramFiles\Python33\Lib (Directory access failure)
I tried to set resolution using commandline..
print(gcf,'-r300','-dtiff','title');
and this works fine.
  3 个评论
Image Analyst
Image Analyst 2013-2-16
Why does it list two directories? Is the folder it's trying to cd to "C:\Users\a_user\AppData\Local\Temp; E:\ProgramFiles\Python33\Lib" which is two folders strung together, which obviously not a valid folder. Why is it not trying to just cd to one single folder?
Santosh
Santosh 2013-2-20
I am not sure..I also do not know where to look for the 'cd' for the "Apply to Figure option". I am able to export the figure using the export option, which cd's to the current working directory. But, the Apply to Figure option creates trouble. It would be great to know where I am supposed to look for, to check the 'cd' variable for the apply to figure option.

请先登录,再进行评论。

采纳的回答

Santosh
Santosh 2013-2-20
I realized that the problem was with the environmental variables TEMP and TMP on my win64 machine, changed their paths to Matlab folder and the problem does not exist any more.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by