Commit 484dd493 authored by Pierre Cazenave's avatar Pierre Cazenave

Fix some error message inconsistencies

parent 69a529ff
...@@ -40,13 +40,13 @@ end; ...@@ -40,13 +40,13 @@ end;
% Parse input arguments % Parse input arguments
%------------------------------------------------------------------------------ %------------------------------------------------------------------------------
if(~exist('z0','var')) if(~exist('z0','var'))
error('incorrect usage of gen_z0_file, must provide z0 field') error('incorrect usage of write_FVCOM_z0, must provide z0 field')
end; end;
if(~exist('filename','var')) if(~exist('filename','var'))
error('incorrect usage of gen_z0_file, must provide filename') error('incorrect usage of write_FVCOM_z0, must provide filename')
end; end;
if(~exist('mytitle','var')) if(~exist('mytitle','var'))
error('incorrect usage of gen_z0_file, must provide title field') error('incorrect usage of write_FVCOM_z0, must provide title field')
end; end;
% check dimensions % check dimensions
......
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