matlab_unit_test(component,pa...matlab_unit_test - a hook to allow matlab functions to be integrated into the unit test framework. The function will intantiate the component, hook it up to the relevant inputs and outputs, run the simulation and save the results.
simulink_unit_test(component,...simulink_unit_test_hook - a hook to allow simulink components to be integrated into the unit test framework. The function will intantiate the component, hook it up to the relevant inputs and outputs, run the simulation and save the results.
%a totally arbitrary matlab function for demo purposes
function y = beamformer(taps,varargin)
y = zeros(size(varargin{1}));
for kk = 1:length(taps)
y = y+taps(kk)*varargin{kk};
end