Diagnosing simfunction acceleration failure

1 vue (au cours des 30 derniers jours)
Abed Alnaif
Abed Alnaif le 2 Déc 2019
Commenté : Abed Alnaif le 4 Déc 2019
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.

Réponse acceptée

Arthur Goldsipe
Arthur Goldsipe le 3 Déc 2019
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

Plus de réponses (0)

Communautés

Plus de réponses dans  SimBiology Community

Catégories

En savoir plus sur Scan Parameter Ranges dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by