view testing/utp_1.1/utp_fcns/isEmptyDouble.m @ 52:daf4eab1a51e database-connection-manager tip

Fix. Default password should be [] not an empty string
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 07 Dec 2011 17:29:47 +0100
parents 409a22968d5e
children
line wrap: on
line source

% ISEMPTYDOUBLE returns true if the input is an empty double [].
%
% CALL:    res = isEmptyDouble(val)
%
% OUTPUTS: true, flase
%
% VERSION: $Id: isEmptyDouble.m,v 1.1 2009/07/20 15:13:38 ingo Exp $
%
function res = isEmptyDouble(val)
  
  res = isnumeric(val) && isempty(val);
  
end