Diagnosing simfunction acceleration failure

1 次查看(过去 30 天)
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

更多回答(0 个)

社区

更多回答在  SimBiology Community

类别

Help CenterFile Exchange 中查找有关 Scan Parameter Ranges 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by