changeset 619:e8b331b6a889

analyze75: fix typos and missing characters on analyze75filename
author carandraug
date Wed, 26 Sep 2012 10:06:03 +0000
parents 41c917791057
children 86d62da2b0b2
files inst/private/analyze75filename.m
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/inst/private/analyze75filename.m
+++ b/inst/private/analyze75filename.m
@@ -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