Getting Namespaces are not supported error during build

조회 수: 3 (최근 30일)
Vickey Vardwaj
Vickey Vardwaj 2024년 6월 25일
댓글: SACHIN KHANDELWAL 2024년 6월 25일
Getting the below error for a adaptive autosar model during build
Error:Unexpected or internal error encountered in "in CGIR: B:\matlab\src\cg_ir\base\Namespace.cpp line 13: B:\matlab\src\cg_ir\base\Namespace.cpp(13): In getOrCreateChild: Assertion failed: !aName.empty() Anonymous Namespaces are not supported
". Please report this to MathWorks if you can cause it to recur
  댓글 수: 1
SACHIN KHANDELWAL
SACHIN KHANDELWAL 2024년 6월 25일
Without looking at the Simulink model, it is difficult to identify the exact cause of the error. However, you can try the following steps to resolve the issue:
1.Upgrade to the latest version of MATLAB and Simulink, if possible.
2.Check if there are any unsupported blocks in your model. Remove any such blocks and try generating the code again.
3.Try generating the code with a different configuration or settings.
4.Check if there are any errors or warnings in the Simulink model. Fix them and try generating the code again.
please share the reproduction steps and model files.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

태그

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by