smpcreateopts = struct( ... 'interp', 'cubic', ... 'ipfrom', 0, ... 'ipto', 0, ... 'mapsel', 1); smp = vmp.CreateSMP(srf, smpcreateopts);