필터 지우기
필터 지우기

Unable to find generated code or generated code is incomplete for subsystem

조회 수: 17 (최근 30일)
MAHENDRAN A
MAHENDRAN A 2023년 8월 9일
답변: Ashutosh 2023년 8월 21일
After performing SIL, my coverage is fully executed and test case is running. But I'm getting an error like "Unable to find generated code or generated code is incomplete for subsystem". Can anyone help in resolving this.

답변 (1개)

Ashutosh
Ashutosh 2023년 8월 21일
The error message "Unable to find generated code or generated code is incomplete for subsystem" typically indicates that there is an issue with the generated code for a subsystem in your model. Try to check for the following things to resolve the issue:
  • Make sure there are not any build errors present in the model. If there are any build errors, try to resolve that.
  • Ensure that configuration settings are properly set up for the model and "System Target File" and "Toolchain” settings are correct according to your target platform.
  • Make sure blocks which are present in the Subsystem are compatible with code generation or not this can be checked in with this link https://in.mathworks.com/help/ecoder/ug/supported-products-and-block-usage.html.
  • Also check the configuration parameters with (ctrl + E) in code generation section that "Generate code only" option is selected or not.

카테고리

Help CenterFile Exchange에서 Generate Tests에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by