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 (최근 30일)
이전 댓글 표시
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
Vidhi Agarwal
2025년 7월 17일
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.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!