Problem applying settings for exporting figures

2 ビュー (過去 30 日間)
Santosh
Santosh 2013 年 2 月 15 日
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 Center および File ExchangeFile Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by