Issue Details
I have a model in Simulink that I am trying to build for use in VeriStand.
I have tried using both the VeriStand Model Framework and VeriStand Model Generation Support Add-On for MATLAB but get the same error with both compiler toolchains:
error: #error Code was generated for compiler with different sized ulong/long. Consider adjusting Test hardware word size settings on the Hardware Implementation pane to match your compiler word sizes as defined in limits.h of the compiler. Alternatively, you can select the Test hardware is the same as production hardware option and select the Enable portable word sizes option on the Code Generation > Verification pane for ERT based targets, which will disable the preprocessor word size checks. #error Code was generated for compiler with different sized ulong/long.
The model may have previously compiled successfully for different targets (such as NI Phar Lap targets) or compiler toolchains.