rt_nonfinite customization

13 次查看(过去 30 天)
EddieM
EddieM 2017-9-4
回答: Soren 2018-7-4
Hi
I'm currently using Simulink to generate .c and .h files which I'm then compiling in an IDE and using an RTOS to call the model step function.
Is there a way to edit the rt_nonfinite.c file? It looks like it's autogenerated but I can't find what in the build process writes this file.
Thanks

回答(1 个)

Soren
Soren 2018-7-4
Uncheck "SupportNonFinite" in "Code Generation->Interface" then they will not be generated.

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by