Azzera filtri
Azzera filtri

Problem applying settings for exporting figures

3 visualizzazioni (ultimi 30 giorni)
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 Commenti
Image Analyst
Image Analyst il 16 Feb 2013
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 il 20 Feb 2013
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.

Accedi per commentare.

Risposta accettata

Santosh
Santosh il 20 Feb 2013
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.

Più risposte (0)

Categorie

Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by