User`s guide
R2013a
5-6
Language and Programming
matlab.unittest package, an xUnit-style testing framework for
the MATLAB language that allows writing and running unit tests, and
analyzing test results
New MATLAB Unit Testing Framework (9 min, 24 sec)
For information about the matlab.unittest package, see Unit Testing Framework.
strsplit and strjoin functions for splitting and joining strings
The strsplit function splits a string into a cell array of strings. The strjoin function joins
strings in a cell array into a single string.
Additional validateattributes options for checking array size and
shape
The validateattributes function now checks the following attributes of input arrays.
Attribute Description
'3d' Array with three or fewer dimensions
'ndims', N N-dimensional array
'square' Square matrix
'diag' Diagonal matrix
For more information, see the validateattributes reference page.
Help text for enumerations and events
The help and doc commands now display help text that you define for enumerations and
events in custom classes. For more information, see Create Help for Classes.
Removal of support for .jar documentation files
The Help system no longer extracts documentation from .jar files. All custom
documentation must be in uncompressed HTML files.