changeset 14416:59e20a5e2ca8

fileread() should return a row vector. * fileread.m: Return a row vector.
author Ben Abbott <bpabbott@mac.com>
date Mon, 27 Feb 2012 07:50:26 -0500
parents eeff2d0a275d
children 12d13534265c
files scripts/io/fileread.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/io/fileread.m	Sun Feb 26 18:25:20 2012 -0500
+++ b/scripts/io/fileread.m	Mon Feb 27 07:50:26 2012 -0500
@@ -38,7 +38,7 @@
   endif
 
   unwind_protect
-    str = fread (fid, "*char");
+    str = (fread (fid, "*char")).';
   unwind_protect_cleanup
     fclose (fid);
   end_unwind_protect