Embedded coder parameter handling

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

 采纳的回答

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 个评论

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