Info
This question is closed. Reopen it to edit or answer.
Header rt_intdivdef not found in Matlab 2012b
1 view (last 30 days)
Show older comments
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!
0 Comments
Answers (0)
This question is closed.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!