Why do I receive an error message when using Accelerator mode from the Simulink Performance Tools 1.3 (R13.0.1)?
2 views (last 30 days)
Show older comments
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 '#####'
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
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.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!