Home > classes > @ao > ne.m

ne

PURPOSE ^

NE overloads the ~= operator for analysis objects.

SYNOPSIS ^

function result = ne(c1,c2, varargin)

DESCRIPTION ^

 NE overloads the ~= operator for analysis objects.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 DESCRIPTION: NE overloads the ~= operator for analysis objects.

 CALL:        result = ne(c1,c2)
              result = ne(c1,c2,  exc_list)
              result = ne(c1,c2, 'property1', 'property2')
              result = ne(c1,c2, 'class/property', 'class/property')

 EXAMPLES:    result = ne(c1,c2, 'name', 'created')
              result = ne(c1,c2, 'ao/name')

 INPUTS:     c1,c2    - input analysis objects
             exc_list - exception list
                        List of properties which are not checked.

 OUTPUTS:    If the two analysis objects are considered equal, result == 0,
             otherwise, result == 1.

 VERSION:     $Id: ne.m,v 1.5 2007/10/22 15:12:09 ingo Exp $

 HISTORY:     29-08-2007 M Hewitson
                 Creation

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function result = ne(c1,c2, varargin)
0002 
0003 % NE overloads the ~= operator for analysis objects.
0004 %
0005 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0006 %
0007 % DESCRIPTION: NE overloads the ~= operator for analysis objects.
0008 %
0009 % CALL:        result = ne(c1,c2)
0010 %              result = ne(c1,c2,  exc_list)
0011 %              result = ne(c1,c2, 'property1', 'property2')
0012 %              result = ne(c1,c2, 'class/property', 'class/property')
0013 %
0014 % EXAMPLES:    result = ne(c1,c2, 'name', 'created')
0015 %              result = ne(c1,c2, 'ao/name')
0016 %
0017 % INPUTS:     c1,c2    - input analysis objects
0018 %             exc_list - exception list
0019 %                        List of properties which are not checked.
0020 %
0021 % OUTPUTS:    If the two analysis objects are considered equal, result == 0,
0022 %             otherwise, result == 1.
0023 %
0024 % VERSION:     $Id: ne.m,v 1.5 2007/10/22 15:12:09 ingo Exp $
0025 %
0026 % HISTORY:     29-08-2007 M Hewitson
0027 %                 Creation
0028 %
0029 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0030 
0031 if eq(c1,c2, varargin{:})
0032   result = 0;
0033 else
0034   result = 1;
0035 end
0036 
0037 % END

Generated on Fri 02-Nov-2007 19:39:27 by m2html © 2003