comparison scripts/miscellaneous/setfield.m @ 19630:0e1f5a750d00

maint: Periodic merge of gui-release to default.
author John W. Eaton <jwe@octave.org>
date Tue, 20 Jan 2015 10:24:46 -0500
parents 1fa328da03ef 446c46af4b42
children db92e7e28e1f
comparison
equal deleted inserted replaced
19626:37d37297acf8 19630:0e1f5a750d00
20 ## -*- texinfo -*- 20 ## -*- texinfo -*-
21 ## @deftypefn {Function File} {@var{sout} =} setfield (@var{s}, @var{field}, @var{val}) 21 ## @deftypefn {Function File} {@var{sout} =} setfield (@var{s}, @var{field}, @var{val})
22 ## @deftypefnx {Function File} {@var{sout} =} setfield (@var{s}, @var{sidx1}, @var{field1}, @var{fidx1}, @var{sidx2}, @var{field2}, @var{fidx2}, @dots{}, @var{val}) 22 ## @deftypefnx {Function File} {@var{sout} =} setfield (@var{s}, @var{sidx1}, @var{field1}, @var{fidx1}, @var{sidx2}, @var{field2}, @var{fidx2}, @dots{}, @var{val})
23 ## 23 ##
24 ## Return a @emph{copy} of the structure @var{s} with the field member 24 ## Return a @emph{copy} of the structure @var{s} with the field member
25 ## @var{field} set to the value @var{val}. 25 ## @var{field} set to the value @var{val}.
26 ## 26 ##
27 ## For example: 27 ## For example:
28 ## 28 ##
29 ## @example 29 ## @example
30 ## @group 30 ## @group