comparison scripts/io/textscan.m @ 11191:01ddaedd6ad5

Reverse changeset b1f4bdc276b6. Use all lower case for "uniformoutput" option.
author Rik <octave@nomad.inbox5.com>
date Thu, 04 Nov 2010 12:18:08 -0700
parents 224c80da37c5
children c776f063fefe
comparison
equal deleted inserted replaced
11190:b1f4bdc276b6 11191:01ddaedd6ad5
104 ## Call strread to make it do the real work 104 ## Call strread to make it do the real work
105 c = cell (1, num_fields); 105 c = cell (1, num_fields);
106 [c{:}] = strread (str, formatstr, args{:}); 106 [c{:}] = strread (str, formatstr, args{:});
107 107
108 if (ischar (fid) && isfinite (nlines)) 108 if (ischar (fid) && isfinite (nlines))
109 c = cellfun (@(x) x(1:nlines), c, "UniformOutput", false); 109 c = cellfun (@(x) x(1:nlines), c, "uniformoutput", false);
110 endif 110 endif
111 111
112 if (nargout == 2) 112 if (nargout == 2)
113 p = ftell (fid); 113 p = ftell (fid);
114 endif 114 endif