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

 채택된 답변

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개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by