changeset 10953:6e86cee800b3 octave-forge

analyze75: fix typos and missing characters on analyze75filename
author carandraug
date Wed, 26 Sep 2012 10:06:03 +0000
parents a6ed5a41ff88
children 8dee54fe3c23
files main/image/inst/private/analyze75filename.m
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/main/image/inst/private/analyze75filename.m	Wed Sep 26 09:23:26 2012 +0000
+++ b/main/image/inst/private/analyze75filename.m	Wed Sep 26 10:06:03 2012 +0000
@@ -16,7 +16,7 @@
 
 %% private function with common code for the analyze75info and read functions
 
-function filename = analyze75check (filename)
+function filename = analyze75filename (filename)
 
   %% Check filename
   if (exist (filename, 'dir'))
@@ -28,8 +28,8 @@
     else
       error ('analyze75: `filename'' is a directory with no hdr files.')
     end
-  elseif (~exist (filename,'file')
-      error ('analyze75info: no file `%s''', filename)
+  elseif (~exist (filename, 'file'))
+      error ('analyze75: no file `%s''', filename)
   end
 
   %% Strip the filename of the extension