Home > Objects > @iFunc > subsasgn.m

iFit/subsasgn

PURPOSE ^

b = subsasgn(a,index,b) : iFunc indexed assignement

SYNOPSIS ^

function b = subsasgn(a,S,val)

DESCRIPTION ^

 b = subsasgn(a,index,b) : iFunc indexed assignement

   @iFunc/subsasgn: function defines indexed assignement
   such as a(1:2,3) = b

   a.p(index) = val                sets the value of the indexed parameter
   a.p        = val                sets all parameter values
   a.Par      = val                sets the value of the parameter named "Par"
   a.Par      = 'fix' or 'lock'    lock the value of the Parameter "Par"
   a.Par      = 'free' or 'clear'  free/unlock the value of the Parameter "Par"
   a.Par      = [min max]          restraint the Par parameter between bounds [min max]
   a.Par      = [min val max]      restraint the Par parameter between bounds [min max]
                                     and set its value to val
   a.p='fix'                       fix/lock all parameter values
   a.p='free'                      free/unlock all parameter values

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 22-Aug-2017 11:03:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1