Hello, in Embedded coder when I geneate the Code it will only generate the variables which is used in my model. But I want all the variables which is present in the base workspace. I am using the Mpt.Parameter as objects. Is there any way for this? Thanks

 採用された回答

Benjamin Thompson
Benjamin Thompson 2022 年 2 月 8 日

0 投票

You must use a variable in your model somewhere in order for embedded coder to generate references to it in your code. Otherwise how will it know where to put the references?

1 件のコメント

Benjamin Thompson
Benjamin Thompson 2022 年 2 月 10 日
編集済み: Benjamin Thompson 2022 年 2 月 10 日
If your question has been answered please mark it as accepted.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および 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!

Translated by