Filter löschen
Filter löschen

Variable define for default storage class

1 Ansicht (letzte 30 Tage)
Xiaohong shen
Xiaohong shen am 11 Dez. 2023
Kommentiert: madhan ravi am 13 Dez. 2023
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?

Antworten (1)

madhan ravi
madhan ravi am 11 Dez. 2023
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 Kommentare
Xiaohong shen
Xiaohong shen am 12 Dez. 2023
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 am 13 Dez. 2023
See page 33-58, as I don"t have the license , I can't try it personally.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Deployment, Integration, and Supported Hardware finden Sie in Help Center und File Exchange

Produkte


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by