1
setfield Scilab Group Scilab Function setfield
3
setfield - list field insertion
8
x : matrix of any possible types
10
l : list, tlist or mlist variable
12
i : field index, see insertion for more details.
15
This function is an equivalent of l(i)=x syntax for field extraction with
16
the only difference that it also applies to mlist objects.
22
l(6)=['one more';'added']
25
a=hypermat([2,2,2],rand(1:2^3));// hypermatrices are coded using mlists
26
setfield(3,1:8,a);a // set the field value to 1:8