Non-Confidential | ![]() | 100965_1180_00_en | ||
| ||||
Home > System Generator Reference > About System Generator |
System Generator (SimGen) is a utility that generates a system model from a project.
To use SimGen, either:
Press the Build icon in System Canvas to build the current project.
Type simgen
on a command line, specifying the project options.
To display help for the command-line options, start SimGen with no
parameters or use the --help
option:
simgen --help
SimGen uses gcc or Visual Studio C++ compiler during its operation. On
Windows, if SimGen cannot find devenv
for Visual Studio,
the build fails. You can specify the path to devenv
in the
System Canvas Preferences dialog, or using the --devenv-path
command-line option.
An example command line for building a platform simulator is:
simgen -pPROJECTFILE_NAME
.sgproj --configurationCONFIGURATION_NAME
-b