Sfunction compiler in matlab 64bit version.

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

Have you also run "mex -setup" like the error suggests?

Sign in to comment.

Answers (1)

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 MATLAB Compiler in Help Center and File Exchange

Asked:

on 7 Feb 2012

Edited:

on 3 Oct 2013

Community Treasure Hunt

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

Start Hunting!