X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=CreaPhase.git;a=blobdiff_plain;f=octave_packages%2Fstruct-1.0.10%2Fdoc-cache;fp=octave_packages%2Fstruct-1.0.10%2Fdoc-cache;h=63820009846fc2a5bdf78e701bfb7be11b1c154c;hp=0000000000000000000000000000000000000000;hb=f5f7a74bd8a4900f0b797da6783be80e11a68d86;hpb=1705066eceaaea976f010f669ce8e972f3734b05 diff --git a/octave_packages/struct-1.0.10/doc-cache b/octave_packages/struct-1.0.10/doc-cache new file mode 100644 index 0000000..6382000 --- /dev/null +++ b/octave_packages/struct-1.0.10/doc-cache @@ -0,0 +1,117 @@ +# Created by Octave 3.6.1, Sat May 26 20:16:56 2012 UTC +# name: cache +# type: cell +# rows: 3 +# columns: 4 +# name: +# type: sq_string +# elements: 1 +# length: 9 +getfields + + +# name: +# type: sq_string +# elements: 1 +# length: 239 + -- Built-in Function: [V1,...] = + getfields (S, 'k1',...) = [S.k1,...] Return selected values from + a scalar struct. Provides some compatibility and some flexibility. + + See also: setfields, rmfield, isfield, isstruct, struct + + + + +# name: +# type: sq_string +# elements: 1 +# length: 20 +getfields (S, 'k1',. + + + +# name: +# type: sq_string +# elements: 1 +# length: 9 +setfields + + +# name: +# type: sq_string +# elements: 1 +# length: 255 + -- Function File: S = setfields(S,KEY,VALUE,...) + Sets S.KEY1 = VALUE1, S.KEY2 = VALUE2, etc, finally returning s. + For some compatibility and flexibility. + + See also: cmpstruct, fields, rmfield, isstruct, getfields, + isfield, struct + + + + + +# name: +# type: sq_string +# elements: 1 +# length: 7 +Sets S. + + + +# name: +# type: sq_string +# elements: 1 +# length: 4 +tars + + +# name: +# type: sq_string +# elements: 1 +# length: 200 + s = tars (foo,bar, ... ) == struct ("foo",foo,"bar",bar,...) + + Groups foo, bar, ... into a struct whose fields are "foo", "bar" ... + and such that s.foo == foo, s.bar == bar ... + + See also : untar + + + +# name: +# type: sq_string +# elements: 1 +# length: 21 + s = tars (foo,bar, . + + + +# name: +# type: sq_string +# elements: 1 +# length: 11 +test_struct + + +# name: +# type: sq_string +# elements: 1 +# length: 38 + EOF my test function ############### + + + +# name: +# type: sq_string +# elements: 1 +# length: 38 + EOF my test function ############### + + + + + +