Generating the Hardware Image Outside the MATLAB Environment - 2022.2 English

Vitis Model Composer User Guide (UG1483)

Document ID
Release Date
2022.2 English
When Generate Hardware Validation Code is selected from the Vitis Model Composer Hub block and the Generate button is clicked, the process can take some time, especially when the image is being built for the first time. This might stall that particular MATLAB session for any other work. To avoid this, you can generate the image outside of MATLAB such that the MATLAB session remains free for other work.
  1. Open a Linux terminal and ensure the $XILINX_VITIS environment variable is set.
    Note: Source the script from <Model Composer Install directory>/Model_Composer/<Version>/ to setup the XILINX_VITIS environment.
  2. cd to the <code-generation-directory>/run_hw directory.
  3. From the Linux terminal, run ./