I was working on a code-generation project with a top model and several referenced models. I found it very easy to customize the name and argument of any entry-point functions in top model after following the link:
However, I could not find where to customize the function interfaces for referenced models. One of the referenced model I have takes a single input and return a single output, and the generated code has the function like:
void foo(const real_T *input, real_T *output);
I want it to be configured as:
real_T foo(const real_T input);
Could anyone give me some guidance?