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.
- Open a Linux terminal and ensure the
$XILINX_VITISenvironment variable is set.Note: Source the script settings64.sh from <Model Composer Install directory>/Model_Composer/<Version>/settings64.sh to setup theXILINX_VITISenvironment. -
cdto the <code-generation-directory>/run_hw directory. - From the Linux terminal, run
./run_hw.sh.