My MATLAB version is r2010a. I am trying to us Embedded MATLAB function block in simulink and is not working. For example, i am giving a simple input to the block and want to see the output but the model is not going through. It is giving error as below:
Unable to locate 'mexopts.bat', and therefore cannot determine which compiler to use for simulation builds. Use 'mex -setup' to select a supported compiler.
Anyone can guide me regarding this?