Diagnosing simfunction acceleration failure
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Abed Alnaif
el 2 de Dic. de 2019
Comentada: Abed Alnaif
el 4 de Dic. de 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.
0 comentarios
Respuesta aceptada
Arthur Goldsipe
el 3 de Dic. de 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
Más respuestas (0)
Comunidades de usuarios
Más respuestas en SimBiology Community
Ver también
Categorías
Más información sobre Scan Parameter Ranges en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!