Configuration parameters not editable or not available - R2024a
조회 수: 15 (최근 30일)
이전 댓글 표시
Hello,
I am doing setup of Configuration Parameters.
Based on "Code Generation Advisor" output, I have to fix few parameters. Issue arises when I try to find them, they are not available.
I use ert_custom.tlc, which is based on the built-in ert.tlc. Only difference is that I removed suffix of the generated folder.
Original "Configuration Parameters" are stored in the dictionary which is linked to the model I use.
I am facing the following issues:
- Build configuration -> grayed out, not changable
- Combine signal/state structures (CombineSignalStateStructs) -> not available in the dialog
- non-finite numbers (SupportNonFinite) -> not available in the dialog
댓글 수: 2
Hitesh
2024년 10월 17일
Could you share the Simulink file along with the ert_custom.tlc file? This would allow me to reproduce the issue and investigate the root cause of it.
채택된 답변
Hitesh
2024년 10월 21일
편집: Hitesh
2024년 10월 21일
Hi Djordje,
The error you encountered is due to the ert_custom_issue.tlc file. The .tlc file that you have shared was having "rtwgensettings.BuildDirSuffix" set to empty which was causing these options to be disabled. You have to modify the " rtwgenSettings" structure to inherit options from the ERT target, then you will get "CombineSignalStateStructs","SupportNonFinite" and "Build configuration" options enabled. Refer to the below code:
rtwgensettings.BuildDirSuffix = '_ert_custom_issue_rtw';
rtwgensettings.DerivedFrom = 'ert.tlc';
rtwgensettings.Version = '1';
For more information on "Create ERT-Based, Toolchain Compliant System Target File" refer to the below MATLAB documentation,
추가 답변 (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!