function hwObj = createHardwareObject(hardwareBoard,varargin)
%CREATEHARDWAREOBJECT Return a hardware object.
%
%hwObj = CREATEHARDWAREOBJECT(hardwareBoard,n1,p1,n2,p2,...) returns a hardware
%object(i.e. hwObj), corresponding to the specified hardwareBoard name. The input arguments
%n1,p1 and n2,p2 etc. specify hardware connection parameters as a name-value pairs.
%The properties and methods of the returned hardware object are specific to
%that hardware only. For a list of available methods use "methods(hwObj)".
%
%
% Examples:
%
% hwList = listHardware;
% hwObject = createHardwareObject(hwList(1));
%
% z = createHardwareObject('Xilinx Zynq ZC706 evaluation kit', 'hostname', '192.168.0.1', 'username', 'root', 'password', 'root');
%


% Copyright 2016-2018 The MathWorks, Inc.
hwObj = ioplayback.hardware(hardwareBoard,varargin{:});
end

% LocalWords: Zynq ZC raspi zynq utils
