Home > marsbar > @marsy > is_valid.m

is_valid

PURPOSE ^

method returns 1 if object contains valid data

SYNOPSIS ^

function tf = is_valid(o)

DESCRIPTION ^

 method returns 1 if object contains valid data
 
 $Id$

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function tf = is_valid(o)
0002 % method returns 1 if object contains valid data
0003 %
0004 % $Id$
0005 
0006 st = y_struct(o);
0007 tf = isfield(st, 'Y') | isfield(st, 'regions');

Generated on Thu 17-Mar-2016 01:14:46 by m2html © 2005