필터 지우기
필터 지우기

Variable define for default storage class

조회 수: 1 (최근 30일)
Xiaohong shen
Xiaohong shen 2023년 12월 11일
댓글: madhan ravi 2023년 12월 13일
I have two fully independent simulink models. The generated code of both models have a same named varialbe
Now I got redefine problem while I am tring to integrate the both component/model into my target software.
How can I avoid this issue, for example define the varialbe with certain prefix?

답변 (1개)

madhan ravi
madhan ravi 2023년 12월 11일
just open one of the models and open Code Mappings - Component Interface and enter your desired name in the Identifier field and name as you like.
  댓글 수: 2
Xiaohong shen
Xiaohong shen 2023년 12월 12일
Hi Ravi,
thanks for your answer. Unfortunately I didn't find the identifier field in Matlab2023a(Embedded Code) :(
Can you pls add screen shot or something,
Best Regards
madhan ravi
madhan ravi 2023년 12월 13일
See page 33-58, as I don"t have the license , I can't try it personally.

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

카테고리

Help CenterFile Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by