Home > freetb4matlab > struct > setfields.m

setfields

PURPOSE ^

% Sets @var{s}.@var{key1} = @var{value1}, @var{s}.@var{key2} = @var{value2}, etc, finally

SYNOPSIS ^

function s = setfields(s,varargin)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} @var{s} = setfields(@var{s},@var{key},@var{value},...)
% Sets @var{s}.@var{key1} = @var{value1},  @var{s}.@var{key2} = @var{value2}, etc, finally
% returning s.
% For some compatibility and flexibility.
% @seealso{cmpstruct, fields, rmfield, isstruct, getfields, isfield,struct}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003