Code covered by the BSD License  

Highlights from
CO2gui - lab control and automation

CO2gui - lab control and automation



06 Jan 2010 (Updated )

Software used for controlling and data logging lab equipment.

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