MATLAB: Does the Simulink Accelerator 1.2 (R13) not rebuild the model when I change the Logical Operator block’s parameter

acceleratorbugchangelogical?modeoperatorparameterr13simulinkSimulink AcceleratorSimulink Performance Tools

I am using the Simulink Accelerator 1.2 (R13). Changing the operator type parameter in the Simulink logical operator block does not cause the Accelerator to recompile and therefore the original operator type (AND, OR, etc.) is used when the simulation is run.

Best Answer

This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
The workaround is to alter the structure of your Simulink model, for example, by adding or deleting blocks. This would force the Accelerator to regenerate the C code and update (overwrite) the existing MEX-file.
Another possible workaround is to delete the existing MEX-file to force the Accelerator to rebuild the model.