MATLAB Answers

can't find function "copyXilin​xFPGAExamp​leFiles() "

6 views (last 30 days)
Yang Qinghua
Yang Qinghua on 10 Jun 2020
Answered: Devika Surendran on 19 Jun 2020
I want to Access FPGA External Memory Using MATLAB as AXI Master over PCI Express.Under the guidance of official documents named"Access FPGA External Memory Using MATLAB as AXI Master over PCI Express", but the function "copyXilinxFPGAExampleFiles() " can't be found. The version of MATLAB is R2019b,and the version of Vivado is 2018.3.

  1 Comment

David Clark
David Clark on 11 Jun 2020
I have this very same issue with Matlab R2019b and Vivado 2019.2. Any information on this would be great!!

Sign in to comment.

Answers (1)

Devika Surendran
Devika Surendran on 19 Jun 2020
I have tried reproducing this example at my end for MATLAB R2019b and Vivado 2018.3 and it is working fine .Make sure you have all the requirements that is:
  • Xilinx® Vivado® of compatible version
  • Xilinx Kintex UltraScale+ FPGA KCU116 Evaluation Kit
  • HDL Verifier™ Support Package for Xilinx FPGA Boards
  • Host machine(PC) with PCIe slot
  • USB-JTAG cable.
First Xilinx Vivado toolpath has to be setup, after which the corresponding path will be prepended to the system path. Start MATLAB and set the current directory in MATLAB to the folder you created. After that example files are copied into current directory by executing following MATLAB comand:
copyXilinxFPGAExampleFiles('pcieaximaster'). When this command is executed tcl files will be copied into your current directory.
If you are still facing the issue then Contact Technical Support
Also refer to the steps mentioned in the documentation:


Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by