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