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 CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by