User`s guide
R2013a
5-26
Importing non-ASCII encoded files with textscan function
The textscan function now reads text files with non-ASCII encodings. For a complete list
of supported encoding schemes and the syntax for specifying the encoding, see the fopen
reference page.
Multichannel JP2 support in imread function
By default, when reading JP2 files, the imread function now returns all image channels
in the order in which they exist in the codestream. In R2012b and earlier releases,
imread read up to 3 channels only.
Compatibility Considerations
The default syntax of imread no longer reorders the channels of a JP2 image
where the channels are out of order. To reorder the channels, call imread with the
'V79Compatible' name-value pair argument.
Previous behavior change of xlsread function output
In R2011b and earlier, the xlsread function returned columns of empty strings, '', in the
text data output, where there were leading columns of numeric data preceding text data.
As of R2012a, on systems with Excel for Windows, these columns of empty strings are
trimmed from the text data output.
Compatibility Considerations
This change in behavior affects file reading on systems with Excel for Windows, when
calling xlsread without the 'basic' argument. For example, given a file, myfile.xls
, where Sheet1 contains the following data:
1 1 1 A A
2 2 2 B B
3 3 3 C C
4 4 4 D D
5 5 5 E E
Calling [num,txt] = xlsread('myfile.xls','Sheet1') on systems with Excel for
Windows returns: