Package and deploy your code replacement library.
Move your code replacement library customization and registration files to a location on the MATLAB® search path that is accessible to other users. If another registration file already exists in that location, copy and paste the information for your code replacement library into the existing registration file.
Refresh your session and verify that the library is available as a configuration option for the code generator.
Verify that code replacement occurs as expected in generated code.
Inform users that the code replacement library is available.