Code Output Directory
Path to the output directory where the generated code is saved
Model Configuration Pane: PLC Code Generation
Description
Enter a path to the target folder where the generated code is saved.
Settings
./plcsrc (default)Default:
./plcsrc subfolder in your working folder
Tips
If the target folder path is empty, a default value of
./plcsrcis used as the Code Output Directory.If, you want to generate code in the current folder use
.as the output directory.The Code Output Directory can have the same name as your current working folder.
Recommended Settings
| Application | Setting |
|---|---|
| Debugging | No impact |
| Traceability | No impact |
| Efficiency | No impact |
| Safety precaution | No impact |
Programmatic Use
Parameter: PLC_OutputDir |
| Type: string |
Value: string |
Default: 'plcsrc' |
Version History
Introduced in R2010a