The validateAudioPlugin
function uses dynamic testing to
find common audio plugin programming mistakes not found by the static checks
performed by generateAudioPlugin
. The function:
Runs a subset of error checks performed by generateAudioPlugin
.
Generates and runs a MATLAB® test bench to exercise
the class.
Generates and runs a MEX version of the test bench.
Removes the generated test benches.
If the plugin class fails testing, step 4 is automatically omitted.
To debug your plugin, step through the saved generated test bench.
If you use the -keeptestbench
option, or
if an error occurs during validation, the test bench files are saved
to your current folder.
Output File Name | Output File Type | Output File
Name With File Extension |
---|
testbench_myClassName
| MATLAB | testbench_myClassName .m
|
testbench_myClassName _mex
| MEX | testbench_myClassName _mex.mexw64
The
MEX-file extension depends on your operating system. |