How do I use symbolic dimensions for Matlab Function blocks, and use the same for code generation ?

Hi,
I Have a variable array input to the matlab function block, each time it will code generate with hard coded array size in the generated file or shared file. this creates different code each time when I change the size. I want to have a variable instead of constant in the code generated .c file. what is the solution

 採用された回答

Steven Lord
Steven Lord 2018 年 7 月 12 日
I think you want to read through this section in the documentation.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB Coder についてさらに検索

製品

リリース

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by