% load VMP and SRF vmp = xff('*.vmp', 'Please select a VMP for SMP creation...'); srf = xff('*.srf', 'Please select a surface to sample VMP at...'); % convert to SMP smp = vmp.CreateSMP(srf); % save as and clear all VMP/SRF objects smp.SaveAs; vmp.ClearObject; srf.ClearObject;