Unable to retrieve full example files

28 views (last 30 days)
Samuel
Samuel on 1 Oct 2025 at 17:37
Answered: BA on 8 Oct 2025 at 14:28
Hello, when I attempt to execute a command such as:
openExample('rfsoc_shared/DACPLDDR4TransmitExample')
The only files that populate in my MATLAB instance are the following:
Which makes it impossible to actually run the example: some files that are listed in the example (e.g. waveformWriteDAC_DDR4.slx) are not in my directory.
The same problem occurs when I try to run many RFSoC examples.

Answers (1)

BA
BA on 8 Oct 2025 at 14:28
Hi Samuel,
Have you installed the HDL Coder Support Package for Xilinx FPGA and SoC Devices?
I believe once you installed this support package you will have the example files.
Also, note that in the example page instructions, you are guided to go to the example file folders and copy them to a new folder.
If you open the example page:
Under the heading ADC Data Capture to DDR Memory you will see the instructions on how to go to the example file folder and copy it somewhere else to use:
Open the example project and copy the example files to a temporary folder.
1. Navigate to the example source folder by entering these commands at the MATLAB command prompt.
example_root = (hdlcoder_rfsoc_examples_root)
cd (example_root)
This will only work if you have installed the the needed Hardware Support Package (HSP):
HDL Coder Support Package for Xilinx FPGA and SoC Devices
It the example page on the right it has listed what is used for the example:
Here is the page you can find the needed HSP for this example to install:
Please let meknow if this works for you.
Thanks.
BA

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!