Home > Objects > @iFunc > isfield.m

iFit/isfield

PURPOSE ^

b = isfield(s, field) : check existence of field/parameter in model objects

SYNOPSIS ^

function b = isfield(a, field)

DESCRIPTION ^

 b = isfield(s, field) : check existence of field/parameter in model objects

   @iFunc/isfield function which checks if a name is already defined as a Parameter
     isfield(s) returns true when the field is defined in the object.

 input:  s: object or array (iFunc)
         field: name to check for (string)
 output: b: not empty when the parameter is already defined, false otherwise
 ex:     b=isfield(a, 'Temperature');

 Version: Nov. 26, 2018
 See also iFunc, isfield, iFunc/findfield

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 26-Nov-2018 15:08:42 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1