     [~, di] = min(sqrt((flon(fvfinidx) - xx).^2 + (flat(fvfinidx) - yy).^2));
0213                 fvtemp(fvnanidx(ni), :) = fvtemp(fvfinidx(di), :);
0214             <span class="keyword">end</span>
0215 
0216             clear plon plat flon flat ptempz
0217 
0218             Mobj.restart.(currvar) = fvtemp;
0219 
0220             te = toc;
0221 
0222             <span class="keyword">if</span> ftbverbose
0223                 fprintf(<span class="string">'done. (elapsed time = %.2f seconds)\n'</span>, te