Generate code only
Generate code versus an executable program
Model Configuration Pane: Code Generation
Description
The Generate code only parameter instructs the code generator to stop the build process after generating code.
Settings
off (default) | on
- On
Generates code and a makefile, but does not invoke the make command.
- Off
Generates code and builds an executable program file.
Tips
Generate code only generates a makefile only if you select Generate makefile.
Recommended Settings
Application | Setting |
---|---|
Debugging | Off |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact |
Programmatic Use
Parameter: GenCodeOnly |
Type: character vector |
Value: 'on' | 'off' |
Default: 'off' |
Version History
Introduced in R2006a