Diagnosing simfunction acceleration failure

2 ビュー (過去 30 日間)
Abed Alnaif
Abed Alnaif 2019 年 12 月 2 日
コメント済み: Abed Alnaif 2019 年 12 月 4 日
Hello,
I get the following error when trying to accelerate a simfunction in R2019b. Is there a way I could specifically identify the culprit of this error?
Warning: Following error occurred while testing a MEX file created for SimBiology acceleration: Accelerated results for initialAssignment rules did not match the unaccelerated results. Check that initialAssignment rule expressions and any user-defined functions are valid and supported for code generation as described in the Language, Function, and Object Support in MATLAB documentation. If this problem persists, contact Technical Support. Click here for more information.

採用された回答

Arthur Goldsipe
Arthur Goldsipe 2019 年 12 月 3 日
Hi Abed,
There is currently no publicly documented way to get additional debugging information. These situations have historically been rare and unique enough that Technical Support and the SimBiology development team has worked one-on-one with users to diagnose the problem. We are continually thinking about ways to make debugging easier. In fact, this message that you're seeing is one that I added in R2019b to catch a problem with generated code that I thought users were unlikely to encounter. I'm glad that added the check! I'll reach out to you via email to see if we can find a way to diagnose the problem, and I'll see if that leads to any ideas for for additional diagnostic information I could easily provide.
-Arthur
  1 件のコメント
Abed Alnaif
Abed Alnaif 2019 年 12 月 4 日
Thanks, Arthur.

サインインしてコメントする。

その他の回答 (0 件)

コミュニティ

その他の回答  SimBiology コミュニティ

カテゴリ

Help Center および File ExchangeScan Parameter Ranges についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by