Error: Real-Time Workshop Error: The nonfinite '-inf' is required but nonfinite support is not selected. Please enable nonfinite support.
이전 댓글 표시
Hi,
I am working on Auto code generation using embedded coder for an AUTOSAR compliant simulink model. After selecting AUTOSAR.tlc, in Interface tab, the 'Nonfinite' support is disabled.
There is no way to edit this check as the field is locked.
When I build the generated code, I get this error: The nonfinite '-inf' is required but nonfinite support is not selected. Please enable nonfinite support.
Does anyone have an idea about this?
Note: I am currently using MATLAB Version 7.11 (R2010b)
답변 (1개)
Kaustubha Govind
2012년 5월 29일
0 개 추천
I'm guessing that nonfinite numbers violate AUTOSAR compliance rules, which is why that option is disabled? The best course of action might be to figure out where the nonfinite number is coming from, and use something like a Saturation block to ensure that it is always a finite value. You could try with ERT.TLC to also experiment a little.
댓글 수: 1
satyam thakur
2023년 11월 2일
How ERT will help here? if he wants to build using the autosar coder.
카테고리
도움말 센터 및 File Exchange에서 AUTOSAR Blockset에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!