MATLAB: The system cannot find the path specified

lcc

1. I installed matlab2007b in windows7.
2. Compiler : Microsoft visual C++ 2008 Professional
3. Java version 1.7.0_02 Java<TM> SE Runtime Environment<build 1.7.0-02-b13>
Java HotSpot<TM> 64-bit Server VM<build 22.0-b13,mixed mode>
4. Microsoft .NET Framework 4 Extended -version 4.0.30319
Microsoft .NET Framework 4 Client Profile -version 4.0.30319
I have all the above software in my PC.
When I run the model I can see the following message
D:\project path\filename_lib\sfun\src>"c:\program files\matlab\r2007b\sys\lcc\bin\lccmake" -f filename_lib_sfun.lmk The system cannot find the path specified.
When I check for those folders path I couldn't see any folder with name LCC.
What could be the reason?
Also I tried the mex -setup command in 2007b version none of the compilers are seen.
With all the above software matlab2012b is working fine in the same PC but not 2007b.
please help me to resolve this issue.

Best Answer

lcc cannot be used in 64 bit MATLAB, only in 32 bit MATLAB.