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

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 2014년 10월 30일
편집: bena 2014년 10월 30일
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 2014년 10월 30일
편집: bena 2014년 10월 30일
>> 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??
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?

답변 (0개)

이 질문은 마감되었습니다.

태그

아직 태그를 입력하지 않았습니다.

질문:

2014년 10월 29일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by