user3375488
user3375488

Reputation: 1

Matlab/simulink error in compilation

I am getting this error in the Simulink file. I have basically connected 3 constants to a MATLAB function which calculates 2 outputs but not able to get why I'm getting the error. The error message reads:

"Making simulation target "untitled14_sfun", ... 
'untitled14_sfun.bat' is not recognized as an internal or external command, 
operable program or batch file."

Upvotes: 0

Views: 179

Answers (1)

Phil Goddard
Phil Goddard

Reputation: 10762

It looks like you haven't installed a compiler (see here for a list of supported compilers), or you have not set it up correctly by running

>> mex -setup

at the MATLAB command prompt.

Upvotes: 2

Related Questions