i cannot make mex setup command to work on my matla2012a?

hello all, i am trying to use mex setup command on matlab 2012a but it does not work on my laptop, and i get the error "Previously accessible file "C:\Program Files\MATLAB\R2012a\toolbox\matlab\iofun\tempname.m" is now inaccessible." any ideas??

5 comentarios

bena - what happens if you type the following in the Command Window
tempname
and/or
which tempname -all
As tempname is a built-in function that generates a unique name for a temporary file, both of the above commands should return a unique file name and the path to the tempname.m respectively.
bena
bena el 30 de Oct. de 2014
Editada: bena el 30 de Oct. de 2014
the first one doesnt work while the second one "which tempname -all" returns "C:\ProgramFiles\MATLAB\R2012a\toolbox\matlab\iofun\tempname.m" i have windows 8 on my laptop and have installed SDK7.1, visual studo 2010. but still getting the same error again and again.
What error do you get when you run tempname?
bena
bena el 30 de Oct. de 2014
Editada: bena el 30 de Oct. de 2014
>> tempname Previously accessible file "C:\Program Files\MATLAB\R2012a\toolbox\matlab\iofun\tempname.m" is now inaccessible. may be that's because maatlab is not confiigured properly on my laptop, I have tried everything but its not working. perhaps re installation of matlab can help??
Geoff Hayes
Geoff Hayes el 30 de Oct. de 2014
Editada: Geoff Hayes el 30 de Oct. de 2014
If you type
open tempname
does the file open in the editor?
And, what does
path
return? If there is a list, do you see the directory C:\Program Files\MATLAB\R2012a\toolbox\matlab\ iofun?

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Aún no se han introducido etiquetas.

Preguntada:

el 29 de Oct. de 2014

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by