User`s guide
Programming
22-19
issorted Support for Cell Arrays
You can now use the issorted function on a cell array of strings.
XLS Functions Support More Formats
xlsread now supports Excel files having formats other than XLS (e.g., HTML) as long as
the COM server is available. Also, xlsfinfo now returns this file format information.
Archiving Functions Accept Files on Path and ~/
Files specified as arguments to gzip, gunzip, tar, and zip can now be specified as partial
path names. On UNIX machines, directories can start with ~/ or ~username/, which
expands to the current user's home directory or the specified user's home directory,
respectively. The wildcard character * can be used when specifying files or directories,
except when relying on the MATLAB path to resolve a filename or partial pathname.
sendmail No Longer Requires ASCII Messages
E-mail messages that you send using sendmail are no longer restricted to ASCII
character encoding schemes.
MATLAB Warns on Invalid Input to str2func
Due to a bug introduced in MATLAB R14, the str2func function failed to issue a warning
or error when called with an invalid function name or a function name that includes a
path specification. In the R2006a release, str2func now generates a warning under
these conditions. In a future version of MATLAB, str2func will generate an error under
these conditions.
Compatibility Considerations
Any existing code that calls str2func with an invalid function name or a function name
that includes the path now generates a warning message from MATLAB. In a future
version, this will cause an error. You should note any such warnings when using R2006a,
and fix the input strings to str2func so that they specify a valid function name.