MATLAB: How to include the own math library when generating code with Real-Time Workshop 6.3 (R14SP3)

customsimulink coder

I would like to use my own math library for generating code with RTW. How do I do that?

Best Answer

The feature of choosing which Target Function Library (TFL) to use in the code generation process is available in Real-Time Workshop. Please refer to:
<http://www.mathworks.com/access/helpdesk/help/toolbox/rtw/ug/f1140305.html#brc7bjo-1>
As of R2007b, Real-Time Workshop Embedded Coder also allows integration of custom TFLs, as described in the release notes :
<http://www.mathworks.com/access/helpdesk/help/toolbox/ecoder/index.html?/access/helpdesk/help/toolbox/ecoder/rn/bq_w6b7.html>
To learn more about this feature, you can refer to the following documentation:
<http://www.mathworks.com/access/helpdesk/help/toolbox/ecoder/ug/brc_o1j.html>