Generating the Hardware Image Outside the MATLAB Environment - 2022.2 English - UG1483

Vitis Model Composer User Guide (UG1483)

Document ID
UG1483
Release Date
2023-01-13
Version
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 settings64.sh from <Model Composer Install directory>/Model_Composer/<Version>/settings64.sh to setup the XILINX_VITIS environment.
  2. cd to the <code-generation-directory>/run_hw directory.
  3. From the Linux terminal, run ./run_hw.sh.