Matlab Compiler 4.0 Installation and Configuration issues

  • Follow


HELP.........................

Hello guys,

I am kind of lost with the Matlab Compiler.  Although I manage to use Matlab(writing m files etc...), I need to perform a task using Matlab Compiler(MC).  As a new user to MC, I can't even manage to install and configure it properly... So here is the sort of things I have tried to do..

>> mbuild -setup
Please choose your compiler for building standalone MATLAB applications: 
 
Would you like mbuild to locate installed compilers [y]/n? y
 
Select a compiler: 
[1] Lcc C version 2.4 in C:\MATLAB7\sys\lcc 
[2] Microsoft Visual C/C++ version 6.0 in C:\Program Files\Microsoft Visual Studio 
 
[0] None 
 
Compiler: 2
 
Please verify your choices: 
 
Compiler: Microsoft Visual C/C++ 6.0 
Location: C:\Program Files\Microsoft Visual Studio 
 
Are these correct?([y]/n): y
 
Try to update options file: C:\Documents and Settings\Administrator\Application Data\MathWorks\MATLAB\R14\compopts.bat 
From template:              C:\MATLAB7\BIN\WIN32\mbuildopts\msvc60compp.bat 
 
Done . . . 
 
 
--> "C:\MATLAB7\bin\win32\mwregsvr C:\MATLAB7\bin\win32\mwcomutil.dll" 
 
DllRegisterServer in C:\MATLAB7\bin\win32\mwcomutil.dll succeeded 
 
--> "C:\MATLAB7\bin\win32\mwregsvr C:\MATLAB7\bin\win32\mwcommgr.dll" 
 
DllRegisterServer in C:\MATLAB7\bin\win32\mwcommgr.dll succeeded 

%%%%%
Now when I try, to do this:

>> mbuild houdini.m
  Could not find the compiler "cl" on the DOS path. 
  Use mbuild -setup to configure your environment properly. 
 
 
  C:\MATLAB7\BIN\WIN32\MEX.PL: Error: Unable to locate compiler. 
 
??? Error using ==> mbuild
Unable to complete successfully

%%%%%
I always seem to be getting this error message.  I have tried searching for it on the net and it appears that there is a problem with specifying the correct path of the compiler.... but I don't know how to sort this out.....

In short, I have an m-file with which I intend to create a stand-alone executable file but do not how to use Matlab Compiler.... Any sort of help would be greatly appreciated..... Thanks...

Lovlesh
0
Reply Lovlesh 5/14/2010 3:28:05 PM


0 Replies
416 Views

(page loaded in 0.03 seconds)

Similiar Articles:













7/23/2012 12:47:17 AM


Reply: