Simulink code generation: How can I add parameters to the generated functions from simulink models?

2 次查看(过去 30 天)
Hi,
I am working with Simulink and Embedder coder. I am generating C code, but I would like to change the parameters from the generated functions. For example, I get:
void Generated_function(void){}
And I want:
void Generated_Function(int i, int e){}
Do you know how can I get this ? how can I modify my simulink model to get this output?
I'd really appreciate your help.

回答(1 个)

Sachin Kumar
Sachin Kumar 2017-5-8

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by