| Contents | Index |
'on'
Generate test bench code.
'off' (default)
Do not generate test bench code
To generate a test bench for your HDL filter code, use the generatehdl function and set the GenerateHDLTestbench property to 'on', as shown in the following example.
generatehdl(Hlp, 'GenerateHDLTestbench', 'on');
Note You should replace all calls to generatetb in your scripts with calls to generatehdl, enabling test bench generation with the GenerateHDLTestbench property, as shown in the preceding example. In Release R2011a, the generatetb function will continue to operate, but will display a warning message when it is called. |
Enabling Test Bench Generation, generatetb

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |