Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Header rt_intdivdef not found in Matlab 2012b

1 vue (au cours des 30 derniers jours)
Tobias Gemaßmer
Tobias Gemaßmer le 5 Fév 2013
Clôturé : MATLAB Answer Bot le 20 Août 2021
When generating code from Simulink models, during PostCodeGenCommand (packNGo) an error occurs, aborting code generation process. The error comes with the message "rt_intdivdef.h does not exist".
By debugging, I recognized that in the BuildInfo.mat this include file seems to be necessary for the code generation process, but cannot be found on either the include paths.
I was able to identify the block that causes the include file to be written into the BuildInfo. It is the MathFunction-Block executing the modulus-function on two int32-Signals.
I also tried to generate code with an older Matlab/Simulink version (Matlab 2011b). There code generation succeeds an builds the executable. The include file "rt_intdivdef.h" does not appear in the BuildInfo.mat.
Is there any solution to this problem, so I can be able to build the code with the new Matlab-Realease?
Thanks for your help!

Réponses (0)

Cette question est clôturée.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by