'hdlv_copyfiles' used in an example doesn't work, and nothing comes up for that when I google. Is there a typo?

1 次查看(过去 30 天)
I am trying to follow the instructions here in my local MATLAB: https://www.mathworks.com/help/hdlverifier/examples/generate_uvm_test_bench_from_simulink.html
However I am getting this error from the very first line in the example:
hdlv_copyfiles('hdlv_uvmtb', 'my_dir', '.')
Undefined function or variable 'hdlv_copyfiles'.
Is there a 'hdlv_copyfiles' command? I'm suspicious because googling give me absolutely nothing, which is strange. Does anyone know where the documentation is for this command is or what MATLAB functionality is required for it?
I checked and I have the required tools (Simulink Coder, HDL Verifier, DSP System Toolbox). There is a folder named 'my_dir' at the level where I am running the command.

采纳的回答

Kiran Kintali
Kiran Kintali 2020-3-3
I think it is an example helper file. If the HDLVerifier is installed correctly the file should be at this location
matlab/toolbox/hdlverifier/hdlverifier_examples
  5 个评论
Walter Roberson
Walter Roberson 2020-3-3
Yes, the easiest way to download the example is to download and install r2019b.
(or if you wait another few weeks then history suggests that R2020a will be released before the equinox)

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by