Variable define for default storage class
1 回表示 (過去 30 日間)
古いコメントを表示
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1565404/image.png)
0 件のコメント
回答 (1 件)
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.
参考
カテゴリ
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!