function ret = listSources(hw)
%LISTSOURCE Returns a list of source names for a given hardware board.
%
%listSources(hw) returns a list of all sources for hardware object hw that
%can be used for data recording. Use createSource function to create a
%source object corresponding to a source name.
%
%
% Examples:
% 
%z = createHardwareObject('Xilinx Zynq ZC706 evaluation kit', 'hostname', '192.168.0.1', 'username', 'root', 'password', 'root');
%listSources(z)
% ans = {'UDP Receive'} {'TCP Receive'} {'AXI Stream Read'} {'AXI Register Read'}
%src = soc.createSource(z,'UDP Receive');

% Copyright 2016-2017 The MathWorks, Inc.
ret = getAvailableSources(hw);
end