Info

此问题已关闭。 请重新打开它进行编辑或回答。

Header rt_intdivdef not found in Matlab 2012b

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

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by