I am trying to create a COM component using the MATLAB Builder for COM 1.1.2 (R14SP1) with the Microsoft Visual Studio 9.0 Compiler. However, I receive the following error message at the MATLAB command prompt at compile time:
Could not find the compiler "cl" on the DOS path. Use mex -setup to configure your environment properly. C:/MATLAB701/BIN/WIN32//../WIN32/MEX.PL: Error: Unable to locate compiler. Error: An error occurred while shelling out to mbuild (error code = 1).
Best Answer