Installation - 2020.2 English

Model Composer and System Generator User Guide (UG1483)

Document ID
UG1483
Release Date
2020-11-18
Version
2020.2 English

Downloading

Xilinx Add-on for MATLAB and Simulink is part of the Vivado® Design Suite as well as the Vitis™ software platform, which can be downloaded from the Xilinx website. The AI Engine library is available only in the Vitis software platform, it is not part of the Vivado Design Suite.

Launching Model Composer and System Generator

You can launch the Xilinx Add-on for MATLAB tool directly from the desktop or from the command line. Double click the Model Composer System Generator icon to launch it from the Start Menu in Windows, or use the following command from the command prompt.

xmc_sysgen
Tip: The command-line use of Xilinx Add-on for MATLAB 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 HLS, HDL and AI Engine libraries and features are overloaded onto this environment.

Xilinx Add-on for Matlab 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 the tool. You can edit the PATH to move the preferred version of MATLAB to precede other versions. You can also direct the tool to open a specific version of the tool using the -matlab option as follows:

xmc_sysgen -matlab C:\Progra~1\MATLAB\R2020a 
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 the Xilinx Add-on for MATLAB tool requires that the command shell has been properly configured as previously discussed.
After launching the tool, you will see the following in the MATLAB command window. Use these links to access the documentation and product examples.
Figure 1. Documentation and Examples Links