Borrar filtros
Borrar filtros

Problem applying settings for exporting figures

3 visualizaciones (últimos 30 días)
Santosh
Santosh el 15 de Feb. de 2013
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 comentarios
Image Analyst
Image Analyst el 16 de Feb. de 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 el 20 de Feb. de 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.

Iniciar sesión para comentar.

Respuesta aceptada

Santosh
Santosh el 20 de Feb. de 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.

Más respuestas (0)

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by