Function c = cellset(c,ic,v)
c = cellset(c,ic,v,p)
puts the contents of v at the indicated element in the
given cell-array c, and returns the resulting cell-array.
The input argument c is a cell-array. It may contain
possibly (recursively) nested cell-arrays.
The input argument ic is a vector of integers > 0. Each
integer is the index to a element at a subsequently deeper
level of c.
The input argument p is a boolean. At default it is true.
If p is true, intermediate levels of the given ic, which
are not cell-arrays or which do not exist, will be
instantiated. Otherwise, these will cause errors thrown by
the internally called function subsasgn().
(c) 2026 fabien van mook
2026.08.20 release of this file within package "fvm-celltravel" under GNU GPLv3+