Commit 6c6ae58e authored by Pierre Cazenave's avatar Pierre Cazenave

Remove the verbose flag as this function is sometimes called in a loop and...

Remove the verbose flag as this function is sometimes called in a loop and this makes the on screen output very messy.
parent 326bc80b
......@@ -32,11 +32,11 @@ function [Point,Distance] = find_nearest_pt(xloc,yloc,Mobj)
%
%==============================================================================
global ftbverbose
% global ftbverbose
subname = 'find_nearest_pt';
if ftbverbose
fprintf('\nbegin : %s\n', subname)
end
% if ftbverbose
% fprintf('\nbegin : %s\n', subname)
% end
%------------------------------------------------------------------------------
% Parse input arguments
......@@ -63,8 +63,8 @@ end
%------------------------------------------------------------------------------
[Distance, Point] = min(sqrt((xloc - x).^2 + (yloc - y).^2));
if ftbverbose
fprintf(['end : ' subname '\n'])
end
% if ftbverbose
% fprintf(['end : ' subname '\n'])
% end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment