% create VOI object voi = xff('new:voi'); % coordinates are in a Cx3 table, ctab, and the radius is fixed at 8mm % alternatively, the radius could be in column 4 in a Cx4 table % iterate over coordinates in table for cc = 1:size(ctab, 1) % add coordinate voi.AddSphericalVOI(ctab(cc, 1:3), 8); % or alternatively: % voi.AddSphericalVOI(ctab(cc, 1:3), ctab(cc, 4)); end