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 件のコメント

Geoff Hayes
Geoff Hayes 2014 年 10 月 30 日
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.
Geoff Hayes
Geoff Hayes 2014 年 10 月 30 日
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??
Geoff Hayes
Geoff Hayes 2014 年 10 月 30 日
編集済み: Geoff Hayes 2014 年 10 月 30 日
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