Generating C Code from a Simulink Model

int sin_linear[80]; // One declaration says int while the other uses int16_T. int16_T is typedef’d to int in rtwtypes.h so they are actually the same thing. Optionally, you could have set the storage class for sin_linear in the Simulink model itself rather … ................
................