Generated file partitioning method - File partitioning mode - MATLAB (original) (raw)
Main Content
Description
App Configuration Pane: Code Appearance
Configuration Objects: coder.MexCodeConfig | coder.CodeConfig | coder.EmbeddedCodeConfig
Specify whether to generate separate C/C++ files for each MATLABĀ® language file or to generate a single file for C/C++ functions that map to your MATLAB entry-point functions. The single file does not include utility functions. The code generator creates separate C/C++ files for utility functions.
Settings
Generate one file for each MATLAB file
The code generator produces separate C/C++ files for each MATLAB language file. This value is the default value.
Generate all functions into a single file
The code generator produces a single file for C/C++ functions that map to your MATLAB entry-point functions. The code generator produces separate C/C++ files for utility functions.
Programmatic Use
**Property:**FilePartitionMethod |
---|
Values: 'MapMFileToCFile' |'SingleFile' |
Default:'MapMFileToCFile' |
Version History
Introduced in R2011a