Generate example main - Example C/C++ main file generation - MATLAB
Main Content
Example C/C++ main file generation
Description
Settings
Generate, but do not compile, an example main functionThis value is the default value.
The code generator generates an example C/C++ main function but does not compile it.
Do not generate an example main functionThe code generator does not generate an example C/C++ main function.
Generate and compile an example main functionThe code generator generates an example C/C++ main function and compiles it to create a test executable. This executable does not return output.
If the
GenCodeOnlyparameter istrue, the code generator does not compile the C/C++ main function.
Programmatic Use
Property:
GenerateExampleMain |
Values: 'GenerateCodeOnly' |
'DoNotGenerate' |
'GenerateCodeAndCompile' |
Default:
'GenerateCodeOnly' |
Version History
Introduced in R2015a