Interfacing with existing C code with embedded coder

I am trying to generate a C code using embedded coder to replace a part/algorithm in my application. There is legacy C code that will call this generated function and use the output. I want to use the same names for the input and output variables as used in the legacy code so that I do not have to do extra assignments. The problem is all these variables are in structure form in the original code (structname.varname). Is there a way I can name the individual inputs in the generated code to use these names?

Answers (0)

This question is closed.

Asked:

on 22 Oct 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!