MATLAB: Mex -setup compiler

mex compilersimulink

My MATLAB Version is 7.11.0.584 (R2010b) and i am trying to run a simulink model on it.
But an error occur during the parsing phase: "Unable to locate 'mexopts.bat', and therefore cannot determine which compiler to use for simulation builds. Use 'mex -setup' to select a supported compiler."
So i t typed mex -setup in the MATLAB command prompt and it appears that there are no compiler available. So how do i get the compiler to allow my simulink model to run successfully?
Thanks

Best Answer

I guess you run Matlab on 64-bit platform (The factory LCC is the only available for 32). A free compiler is Microsoft Visual Studio Express. You need to download and install it.
Related Question