Sfunction compiler in matlab 64bit version.
Show older comments
i have installed a 64 bit version of matlab on windows 7 professional. while making s functions using s-function builder block in the library of simulink, i was getting the following error on clicking "build": * Error: Could not find the compiler "cl" on the DOS path. Use mex -setup to configure your environment properly.
D:\PLSINS~1\BIN\MEX.PL: Error: Unable to locate compiler.*
even after installing all the required compilers like lcc, the problem was not solved. pls help. thank you
1 Comment
Kaustubha Govind
on 7 Feb 2012
Have you also run "mex -setup" like the error suggests?
Answers (1)
Andreas Goser
on 7 Feb 2012
0 votes
That is because the LCC Compiler is not a supported compiler for Win 64.
There is also a free compiler on the list.
Categories
Find more on Create C/C++ S-Functions in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!