I have a model that contains an IF-ELSE Simulink block. For the logical comparison in the dialog parameter of this block I am using an mpt.parameter data object that is part of the MPT package in Real-Time Workshop Embedded Coder. I define this mpt.parameter to be of type uint16 (or any non-double, non-single) data type. When I try to update diagram or press play, I get the following error:
The expression 'u1 > Test' in 'TestIfBlockWithMPT/If' has a syntax error.
Best Answer