Commit 3e8f0bcb authored by Pierre Cazenave's avatar Pierre Cazenave

Tidy up the verbose statements and update the subroutine name to match its actual name.

parent b4b1fdb7
......@@ -33,11 +33,11 @@ function [Mobj] = add_obc_nodes_list(Mobj,Nlist,ObcName,ObcType,plotFig)
% support pre-2012 versions of MATLAB whilst giving the same result.
%
%==========================================================================
subname = 'add_obc_nodes';
subname = 'add_obc_nodes_list';
global ftbverbose
if(ftbverbose)
fprintf('\n')
fprintf(['begin : ' subname '\n'])
if ftbverbose
fprintf('\nbegin : %s\n', subname)
end
% Do we want a figure showing how we're getting along?
......@@ -89,7 +89,7 @@ Mobj.obc_name{Mobj.nObs} = ObcName;
Mobj.obc_type(Mobj.nObs) = ObcType;
if(ftbverbose)
fprintf(['end : ' subname '\n'])
if ftbverbose
fprintf('\nend : %s\n', subname)
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