Code covered by the BSD License  

Highlights from
Realterm communications suite

Realterm communications suite



06 Jan 2010 (Updated )

Use Realterm in a similar way to using the MATLAB "serial" commands and instrument control toolbox.

function response = isrealtermhandle(input)
% ISREALTERMHANDLE returns true or false if it is a real term handle or not

% checks the number of arguments
error(nargchk(1, 1, nargin))

% checks it
if isstruct(input)
    % not defined
    error('Not defined for structures.')
elseif iscell(input)
    % recursively call this
    response = cellfun(@isrealtermhandle, input, 'UniformOutput', false);
    % check it
    response = isa(input, 'COM.realterm_realtermintf'); %&& isscalar(input);

Contact us