This behavior is due to an intentional change MathWorks made in R2013b to enhance a2l file generation for models that use the ASAP2 data exchange interface. These errors are occurring because the custom TLC files being used to generate code for the ASAP2 data exchange were intended for an earlier release of MATLAB.
If you obtained these files from a third party we recommend you contact them in order to obtain an up to date version of these TLC files.
If you wrote the TLC files which control the behavior of the ASAP2 data exchange then one or more of the following files may need to be updated: asap2setup.tlc, asap2lookup1d.tlc, asap2scalar.tlc, or asap2lookup2d.tlc
Examples of these files with an up to date set of variable and calling syntax of functions can be in the [matlabroot '/toolbox/rtw/targets/asap2/asap2/user/'] and [matlabroot '/toolbox/rtw/targets/asap2/asap2/user/templates/'] directories.
Best Answer