MEX Verification in MATLAB (R2008a)
Mostra commenti meno recenti
Hello all,
I am trying to test MEX configuration in MATLAB (R2008a); however, it doesn't work. Now, I don't know how to fix this. Thank you for your help.
>> mbuild -setup
Please choose your compiler for building standalone MATLAB applications:
Would you like mbuild to locate installed compilers [y]/n? n
Select a compiler:
[1] Microsoft Platform SDK 14.0
[2] Microsoft Visual C++ 2005
[3] Microsoft Visual C++ 2008
[0] None
Compiler: 3
The default location for Microsoft Visual C++ 2008 compilers is C:\Program Files (x86)\Microsoft Visual Studio 9.0,
but that directory does not exist on this machine.
Use C:\Program Files (x86)\Microsoft Visual Studio 9.0 anyway [y]/n? y
Please verify your choices:
Compiler: Microsoft Visual C++ 2008
Location: C:\Program Files (x86)\Microsoft Visual Studio 9.0
Are these correct [y]/n? y
****************************************************************************
Warning: Applications/components generated using Microsoft Visual Studio
2008 require that the Microsoft Visual Studio 2008 run-time
libraries be available on the computer used for deployment.
To redistribute your applications/components, be sure that the
deployment machine has these run-time libraries.
****************************************************************************
Trying to update options file: C:\Users\sor\AppData\Roaming\MathWorks\MATLAB\R2008a\compopts.bat
From template: C:\PROGRA~1\MATLAB\R2008a\bin\win64\mbuildopts\msvc90compp.bat
Done . . .
>> mex yprime.c
Error: Could not find the compiler "cl" on the DOS path.
Use mex -setup to configure your environment properly.
C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Unable to locate compiler.
??? Error using ==> mex at 207
Unable to complete successfully.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Write C Functions Callable from MATLAB (MEX Files) in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!