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

1 次查看(过去 30 天)
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 个)

产品


版本

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by