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

 Akzeptierte Antwort

Benjamin Thompson
Benjamin Thompson am 8 Feb. 2022

0 Stimmen

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 Kommentar

Benjamin Thompson
Benjamin Thompson am 10 Feb. 2022
Bearbeitet: Benjamin Thompson am 10 Feb. 2022
If your question has been answered please mark it as accepted.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

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

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by