: subsasgn(A, idx, rhs)

Perform the subscripted assignment operation according to the subscript specified by idx.

A slice of the NetCDF variable can be saved by using A(index1,index2,...) = rhs;

Inputs

A - ncArray value

idx - idx structure

rhs - value to assign

Outputs

None

Package: ncarray