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. 27, 2018
 See also iFunc, isfield, iFunc/findfield

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 27-Nov-2018 10:56:24 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1