MATLAB: Do I receive an error message when using Accelerator mode from the Simulink Performance Tools 1.3 (R13.0.1)

acceleratoracquireblockfunctionhandleMATLABmodenamesimsimulinkSimulink AcceleratorSimulink Performance Toolstounable

My Simulink model runs fine in Normal mode; however, when I try to run the model in Accelerator mode, I get the following error:
??? Error using ==> sim Unable to acquire handle to MATLAB function '#####'

Best Answer

This bug has been fixed for Release 14 (R14). For previous releases, please read below for any possible workarounds:
This is a bug in Simulink Performance Tools 1.3 (R13.0.1) in the way that the Accelerator mode generates code for certain blocks. Our development staff is currently investigating this issue.
Currently, to work around this issue, make sure that none of the blocks in your model has a name of "true" or "false." Having blocks with these names in your model will cause the Simulink Accelerator to generate code improperly.