Using an External Function in a Test Sequence Block
This example shows how to call an externally-defined function from the Test Sequence block. Define a function in a script on the MATLAB® path, and call the function from the test sequence.
In this example, the step ReducedSine
reduces the signal sg
using the function Attenuate
.
The test sequence produces signal sg
and attenuated signal asg
.