Code Replacement in Embedded Coder with Embedded Matlab Functions
2 views (last 30 days)
I have target specific versions of memcpy and memset I want to use in my project. I have them defined as a code replacement library. If the code being replaced came from built-in blocks, it works correctly. However, I have an embedded Matlab function in my model that will also require these same code replacements when the code is generated, and the code replacement does not work. Embedded Coder does not replace the functions in the generated code.
Is there a setting I might be missing? Do I need to define the code replacement table somewhere besides in Simulink?