User`s guide
Programming Fundamentals
17-29
• To import from the clipboard using the MATLAB menus, use Edit > Paste to
Workspace instead of using File > Import Data , and then change the source to
Clipboard. This method is preferred because it is more direct. The capability of
switching from file to clipboard within the wizard is no longer supported.
Function Handle Array Warning Is Now An Error
The only way to make an array of function handles is to use a cell array. Attempting
to create any other type of array of function handles is invalid. For the past several
releases, MATLAB has issued a warning if you should attempt to put function handles
into any type of array other than a cell array. As of this release, MATLAB throws an
error instead of a warning when this is attempted.
Replace
A = [@sin @cos @tan];
??? Error using ==> horzcat
Nonscalar arrays of function handles are not allowed; use
cell arrays instead.
with
A = {@sin @cos @tan};
Compatibility Considerations
If any of your program code attempts to create a regular array of function handles, this
code will now generate an error.