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

 Réponse acceptée

Benjamin Thompson
Benjamin Thompson le 8 Fév 2022

0 votes

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 commentaire

Benjamin Thompson
Benjamin Thompson le 10 Fév 2022
Modifié(e) : Benjamin Thompson le 10 Fév 2022
If your question has been answered please mark it as accepted.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Deployment, Integration, and Supported Hardware dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by