MATLAB: Installation failure for MATLAB Coder Interface for Deep Learning Libraries and GPU Coder Interface for Deep Learning Libraries support packages in MATLAB R2020b release

coder-tipsdeep learningdeep learning hdl toolboxGPU Codermatlab coder

In R2020b, when trying to install the MATLAB Coder Interface for Deep Learning Libraries or GPU Coder Interface for Deep Learning Libraries support packages, I get the following error:
Download Error: There was a problem downloading the support package. To resolve this issue, see this MATLAB Answer
How can I proceed with installing these support packages in MATLAB R2020b release?

Best Answer

Due to dependencies amongst the following support packages (please note the version numbers below):
  • MATLAB Coder Interface for Deep Learning Libraries (version 20.2.1)
  • GPU Coder Interface for Deep Learning Libraries (version 20.2.1)
  • Deep Learning HDL Toolbox Support Package for Xilinx FPGA and SoC Devices (version 20.2.1)
If you first install the Deep Learning HDL Toolbox Support Package for Xilinx FPGA and SoC Devices support package, then try to install either MATLAB Coder Interface for Deep Learning Libraries or GPU Coder Interface for Deep Learning Libraries support packages, you will encounter the error.
To work around this issue, please follow these steps:
  1. Uninstall Deep Learning HDL Toolbox Support Package for Xilinx FPGA and SoC Devices support package
  2. Install MATLAB Coder Interface for Deep Learning Libraries and/or GPU Coder Interface for Deep Learning Libraries
  3. Reinstall Deep Learning HDL Toolbox Support Package for Xilinx FPGA and SoC Devices support package