필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

problem related with setting default compiler using matlab r2011a

조회 수: 1 (최근 30일)
swapnil
swapnil 2014년 6월 26일
마감: MATLAB Answer Bot 2021년 8월 20일
dear sir, while making .exe file,we have to set default complier by using the command * mbuild-setup * . but when i typed on command prompt then this error occured. plz help me.
>> mbuild-setup String found where operator expected at (eval 78) line 1, near "'"if exist ''.$ENV{'" (Missing operator before '.$ENV{'?) String found where operator expected at (eval 79) line 1, near "'"if exist ''.$ENV{'" (Missing operator before '.$ENV{'?) String found where operator expected at (eval 80) line 1, near "'"if exist ''.$ENV{'" (Missing operator before '.$ENV{'?) String found where operator expected at (eval 81) line 1, near "'"if exist ''.$ENV{'" (Missing operator before '.$ENV{'?) Usage: MBUILD [option1 ... optionN] sourcefile1 [... sourcefileN] [objectfile1 ... objectfileN] [libraryfile1 ... libraryfileN] [exportfile1 ... exportfileN]
Use the -help option for more information, or consult the MATLAB Compiler
User's Guide.
C:\PROGRA~1\MATLAB\R2011A\BIN\MEX.PL: Error: No file names given.
??? Undefined function or variable 'setup'.

답변 (1개)

Chaitra
Chaitra 2014년 6월 26일
편집: Chaitra 2014년 6월 26일
Execute the command by specifying a space between mbuild and setup
Execute the following command:
>> mbuild -setup
Even i encountered "??? Undefined function or variable 'setup'." error if i execute mbuild-setup
Infact you can use mex -setup to configure compiler settings:
>>mex -setup

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

Community Treasure Hunt

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

Start Hunting!

Translated by