Institut de Robòtica i Informàtica Industrial

ObsModel

PURPOSE ^

ObsModel constructor.

SYNOPSIS ^

function OM=ObsModel(varargin)

DESCRIPTION ^

   ObsModel constructor.

   Constructor of the observatin model base object.
   This is used to be able to execute queries such as
       isa(o,'ObsModel')
   and to implement geniric observation model functions.

   See also @ObsModel/Update.

CROSS-REFERENCE INFORMATION ^

This function calls:
This function is called by:

SOURCE CODE ^

0001 function OM=ObsModel(varargin)
0002 %   ObsModel constructor.
0003 %
0004 %   Constructor of the observatin model base object.
0005 %   This is used to be able to execute queries such as
0006 %       isa(o,'ObsModel')
0007 %   and to implement geniric observation model functions.
0008 %
0009 %   See also @ObsModel/Update.
0010 
0011   switch nargin
0012     
0013     case 0
0014       OM.dummy=1;
0015       OM=class(OM,'ObsModel');
0016       
0017     case 1
0018       if isa(varargin{1},'ObsModel')
0019         OM=varargin{1};
0020       else
0021         error('Wrong parameter type in ObsModel constructor');
0022       end
0023    
0024     otherwise
0025       error('Wrong number of parameters in ObsModel constructor');
0026   end


Institut de Robòtica i Informàtica Industrial

Generated on Wed 05-Aug-2009 15:05:21 by m2html © 2003