I have a Simulink model that contains a Model block. The referenced model has a Stateflow chart which calls a custom C function. When I run simulation in SIL mode, I receive the following error:
fatal error LNK1120: 1 unresolved externals
C:\MATLAB32\R2011B\BIN\MEX.PL: Error: Link of '..\..\..\mySfModelRef_customC_msf.mexw32' failed.
Best Answer