Just to be sure, I ran the PowerWindowWithSimulink sample, which was working before. However, when I "import/sync Simulink model", I get the same error. In the SimDataFile.txt file, Warning messages for all 3 ports appear:
up Inport Warning: The block parameter 'DataType' on 'rhp_powerwindow/up' has been deprecated. Getting the value of this parameter is no longer allowed. You can get the data type using parameter 'OutDataTypeStr' instead.
I made some changes in the generated code addressing the deprecated comment, however, it gives the same error. I installed the latest version of Matlab Simulink, and I guess it's causing a problem. Any hints?