rt_nonfinite.h and rt_nonfinite.c are generated in different ways between matlab 2024 and matlab 2022 if I use the same configuration
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Until now I have worked with Matlab 2022 for code generation with Embedded Coder, with this version the autogenerated file rt_nonfinite.c did not make use of the functions ‘isinf’ and ‘isnan’.
Using the Matlab 2024 version instead, the rt_nonfinite.c file makes use of these functions.
I cannot use a standard other than C99 so as not to have other problems with standard functions, such as fabs which assume the use of doubles, I would like to ask you if there is a setting to make the rt_nonfinite.c file be generated as it was with the 2022 version.
Translated with DeepL.com (free version)
2 Kommentare
Vidhi Agarwal
am 17 Jul. 2025
I went through the documentation but I couldn't find anything mentioning to force the code generator to produce the old style of rt_nonfinite.c (i.e., without using isinf and isnan), as was done in MATLAB 2022. The code generation templates and support files are updated in newer releases, and MathWorks does not provide a built-in option to revert to legacy code patterns for this specific file.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Deployment, Integration, and Supported Hardware finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!