error while using embedded function block

i am using embedded system block for a simulink model.. When i am running the file it is showing the following error
"Unable to locate 'mexopts.bat', and therefore cannot determine which compiler to use for simulation builds. Use 'mex -setup' to select a supported compiler."
I checked the command " mex -setup". but there i am not getting the choice of compilers .Following messages are coming
" mex -setup Please choose your compiler for building external interface (MEX) files:
Would you like mex to locate installed compilers [y]/n? y
Select a compiler:
[0] None "
0
mex: No compiler selected. No action taken.
************************************************************************ Warning: The MATLAB C and Fortran API has changed to support MATLAB variables with more than 2^32-1 elements. In the near future you will be required to update your code to utilize the new API. You can find more information about this at: http://www.mathworks.com/support/solutions/en/data/1-5C27B9/?solution=1-5C27B9 Building with the -largeArrayDims option enables the new API. ************************************************************************
What shall i do to make my matlab work on the embedded matlab functions..
I am struck here .. please tell me what to do .. Thanks

댓글 수: 3

TAB
TAB 2012년 12월 10일
Can you check on your matlab path inside MATLAB\RXXXXx\sys that directory lcc exists or not ?
Lcc compiler comes inbuilt with Matlab.
Rick Rosson
Rick Rosson 2012년 12월 11일
Lcc is only available for 32 bit operating system. If you are using win64, your best bet is to install Visual C++ Express.
Max
Max 2012년 12월 13일
i installed VISUAL C++ express ... its showing same problem

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Troubleshooting in MATLAB Compiler SDK에 대해 자세히 알아보기

질문:

Max
2012년 12월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by