MATLAB: How can i run simulink block since am using matlab r2012a

simulink

while running the simulink an error occured as Making simulation target "lossless_compression_sfun", …
'lossless_compression_sfun.bat' is not recognized as an internal or external command, operable program or batch file. Please help me to run my proj by providing the solution for my problem.

Best Answer

Could you try running "mex -setup" in MATLAB and have it automatically select a supported installed compiler? I've seen that fix this issue in the past.