Mercurial > hg > octave-nkf
changeset 20432:8a25649b9c77 stable
textread.m: fix texinfo header syntax after commit 481fa65e5cab
author | Philip Nienhuis <prnienhuis@users.sf.net> |
---|---|
date | Sun, 24 May 2015 23:23:29 +0200 |
parents | 1b4bef838aaf |
children | 3ccc2d02e64b |
files | scripts/io/textread.m |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/io/textread.m +++ b/scripts/io/textread.m @@ -68,8 +68,8 @@ ## [a, b] = textread (f, "%f %s") ## returns two columns of data, one with doubles, the other a ## cellstr array: -## a = [1; 2; 3; 4; 5]´ -## b = {"a"; "b"; "c"; "d"; "e"} +## a = [1; 2; 3; 4; 5] +## b = @{"a"; "b"; "c"; "d"; "e"@} ## @end example ## ## @example @@ -77,8 +77,8 @@ ## (read data into two culumns, try to use the format string ## three times) ## returns -## a = [1; 2; 3]´ -## b = {"a"; "b"; "c"} +## a = [1; 2; 3] +## b = @{"a"; "b"; "c"@} ## ## @end example ## @@ -90,7 +90,7 @@ ## b ## ## [a, b] = textread (f, "%f %s", 2) -## returns a = 1 and b = {"a"}; i.e., the format string is used +## returns a = 1 and b = @{"a"@}; i.e., the format string is used ## only once because the format string refers to 2 lines of the ## data file. To obtain 2x1 data output columns, specify N = 4 ## (number of data lines containing all requested data) rather