Launching Model Composer - 2020.2 English

Model Composer and System Generator User Guide (UG1483)

Document ID
UG1483
Release Date
2020-11-18
Version
2020.2 English
You can launch Model Composer directly from the desktop icon, or from the command line. Double-click the Model Composer icon, launch it from the Start Menu in Windows operating system, or use the following command from the command prompt:
xmc_sysgen
Tip: The command-line use of Model Composer requires that the command shell has been configured as follows. You must change directory to <install_dir>/Model_Composer/<version> and run the settings64-Model_Composer.bat (or .sh) file. Where <install_dir> is the installation folder and <version> is the specific version of the tool.

MATLAB opens, and the Model Composer library and features are overloaded onto this environment. At this point you can click the Simulink icon from the main toolbar menu, or type simulink from the MATLAB command prompt:

>> simulink

The Simulink Start Page is displayed. Model Composer features are loaded onto the platform.

Model Composer supports the latest releases of MATLAB. For more information on Supported MATLAB versions and operating systems, refer to Supported MATLAB Versions and Operating Systems. If you have multiple versions of MATLAB installed on your system, the first version found in your PATH will be used by Model Composer. You can edit the PATH to move the preferred version of MATLAB to precede other versions. You can also direct Model Composer to open a specific version of the tool using the -matlab option as follows:
xmc_sysgen -matlab C:\Progra~1\MATLAB\R2018b
Tip: When you specify the path to the MATLAB version, do not specify the full path to the executable (bin/MATLAB). The string "C:\Progra~1\" is a shortcut to "C:\Program Files\" which eliminates spaces from the command path. The command-line use of Model Composer requires that the command shell has been properly configured as previously discussed.