C code generated for variable size model interface

1 次查看(过去 30 天)
For one of the application, i need to have variable size input to the model. In the actual system the size of data would be changing i.e. either 1, 2,1000 etc. Hence i am trying to use the variable size.
I have changed the inport settings to say that it is a Variable Size. When i generate the c code with Embedded Coder, i see that the interface created for this inputs are still defined as uint8 a; and also one more struct with the size of the signal.
But i am not sure how can i pass the variable array from another code to the MATLAB code ? As the signal is still defined as a signle variable ?

回答(0 个)

类别

Help CenterFile 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