Why does the Embedded Coder (C++) create static parameter structures and how to avoid it?

1 回表示 (過去 30 日間)
Sergio Delgado
Sergio Delgado 2019 年 10 月 10 日
回答済み: db1024 2019 年 10 月 25 日
I have been using the C++ code generation via embedded coder for a while and noticed that the automatically generated P-Structure (Block Parameters) is static (I now use the 2019a version, the parameter structure in Matlab2017b was not static).
I did some research and didn't find any model configuration parameter that helps me get a "non-static" parameter structure, so I have been doing this step "manually". Does anyone know how to get a non-static P structure after the C++ code generation?

採用された回答

db1024
db1024 2019 年 10 月 25 日
I discovered the same issue between R2018b and R2019a.
My question on MATLAB Answers can be found here.
Unfortunately, there seems to be no solution for this issue in R2019a as answered by the MathWorks Support Team in this answer.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDeployment, Integration, and Supported Hardware についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by