MATLAB: Can I control the name of an Embedded MATLAB subfunction in the generated code in Real-Time Workshop (R2009a)

simulink coder

I have a parent eML function which is calling another eML function. I generate code for the parent function using EMLC. In the generated code I see that the name of the child function has a prefix attached to it.
I am interfacing this generated code with some external code. Therefore this name mangling is not acceptable.
I am wondering if there is a way to control the name of the child function in the generated code.

Best Answer

The ability to preserve the name of an Embedded MATLAB function that is invoked in another Embedded MATLAB function does not exist in Real Time Workshop 7.3 (R2009a).
To workaround this issue, generate code separately for the utility function.