<< save | Stream manager |
R = sscanf(str, format) |
R = sscanf(str, format, sizeR) |
[R, count] = sscanf(...) |
[R, count, errmsg] = sscanf(...) |
[R, count, errmsg, nextindex] = sscanf(...) |
character array or string scalar.
a string describing the format to used function, see fscanf for supported format.
desired dimensions of R.
matrix or character vector.
number of elements read into output array.
Error message.
Position after last character scanned.
Read formatted data from strings.
str = "2.7183 3.1416 0.0073";
R = sscanf(str,'%f',[2 2])
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET