%% load & display model
[V,F] = openOFF(‘model.off’, ”);
%% close figure
close all;
%% display model again (possibly with changed vertex positions V)
P = patch(‘Vertices’, V, ‘Faces’, F, ‘FaceVertexCData’,0.3*ones(size(V,1),3));
axis equal;
shading interp;
camlight right;
camlight left;