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

1 view (last 30 days)
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:
  1 Comment
mainak GH
mainak GH on 10 Mar 2021
Hi ,
I am getting the same error . I have followed the process which you have suggested . Please see my output.
Prepending following Xilinx Vivado path(s) to the system path:
C:\Xilinx\Vivado\2019.1\bin
>> copyXilinxFPGAExampleFiles('ethernetaximasterzynq');
Unrecognized function or variable 'copyXilinxFPGAExampleFiles'.

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!