'hdlv_copyfiles' used in an example doesn't work, and nothing comes up for that when I google. Is there a typo?
    3 views (last 30 days)
  
       Show older comments
    
    John Smith
 on 2 Mar 2020
  
    
    
    
    
    Commented: Walter Roberson
      
      
 on 3 Mar 2020
            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 tried this example, and was able to run it fine: https://www.mathworks.com/help/dsp/examples/generate-hdl-code-for-high-throughput-channelizer.html
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.
0 Comments
Accepted Answer
  Kiran Kintali
    
 on 3 Mar 2020
        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 Comments
  Walter Roberson
      
      
 on 3 Mar 2020
				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)
More Answers (0)
See Also
Categories
				Find more on HDL Code Generation in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


