Why do I receive an error message when using Accelerator mode from the Simulink Performance Tools 1.3 (R13.0.1)?

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 '#####'

 Respuesta aceptada

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.

Más respuestas (0)

Categorías

Más información sobre Simulink en Centro de ayuda y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by