Specify the custom file processing (CFP) template file to use when generating code.
Category: Code Generation > Templates
Default: 'example_file_process.tlc'
You can use a CFP template file to customize generated code.
A CFP template file is a TLC file that organizes types of code (for
example, includes, typedefs
, and functions) into
sections. The primary purpose of a CFP template is to assemble code
to be generated into buffers, and to call a code template API to emit
the buffered code into specified sections of generated source and
header files. The CFP template file must be located on the MATLAB® path.
Parameter: ERTCustomFileTemplate |
Type: character vector |
Value: valid TLC file |
Default: 'example_file_process.tlc' |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact |