I am generating code from with my Simulink model that uses an ASAP2 data exchange interface. My model generates code correctly in Simulink R2013a, but it fails with one or more of the following error message in R2013b:
Error: File: C:\Program Files\MATLAB\R2014a\rtw\c\tlc\mw\asap2main.tlc Line: 50 Column: 41
Undefined identifier ASAP2EnableTestPoints
Error: File: C:\Program Files\MATLAB\64bit\R2013bPre\rtw\c\tlc\mw\asap2lib.tlc Line: 3546 Column: 57
Function argument mismatch; function ASAP2UserFcnWriteCharacteristic_Lookup2D expects 1 arguments
Error: File: C:\Program Files\MATLAB\R2014a\rtw\c\tlc\mw\asap2lib.tlc Line: 3653 Column: 58
Function argument mismatch; function ASAP2UserFcnWriteCharacteristic_Scalar expects 1 arguments
Error: File: C:\MATLAB\R2014a\rtw\c\tlc\mw\asap2lib.tlc Line: 3653 Column: 41
Values of NULL type cannot be expanded
Best Answer