Code Replacement in Embedded Coder with Embedded Matlab Functions

1 view (last 30 days)
John Fiaschetti
John Fiaschetti on 17 Jan 2022
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?

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by