Code replacement library
Specify a target-specific floating-point math library extension
Model Configuration Pane: Code Generation / Simulink Desktop Real-Time
Description
Specify a target-specific floating-point math library extension. Before setting this parameter, check that your compiler supports the library you want to use. If you select a parameter value that your compiler does not support, compiler errors can occur.
Settings
None | GNU C99 extensionsDefault:
      None
- None
- Does not use a code replacement library. 
- GNU C99 extensions
- Generates calls to the GNU® - gccmath library, which provides C99 extensions as defined by compiler option- -std=gnu99.
Recommended Settings
| Application | Setting | 
|---|---|
| Debugging | 
 | 
| Traceability | 
 | 
| Efficiency | 
 | 
| Safety precaution | 
 Explanation: SLDRT does not use the GNU compiler. | 
Programmatic Use
| Parameter: CodeReplacementLibrary | 
| Type: character vector | 
| Value: 'None'|'GNU99 (GNU)' | 
| Default: 'None' | 
Version History
Introduced in R2008a