Mon 04 Nov 2013 05:06:13 PM UTC, comment #1:
Update:
I was a bit too fast jumping too conclusions with "isclass", the documentation actually shows that a second argument is necessary which makes it work as expected.
Looking into Matlab R2012b I saw that calls of the form cellfun('isempty',...) are supported for backwards compatibility only and do not accept the "UniformOutput" property at all.
Here is another example of "UniformOutput" failing, this time with function handles:
|
Mon 04 Nov 2013 09:46:23 AM UTC, original submission:
cellfun presently has some issues:
(1)
For (most?) functions explicitly named in the documentation, UniformOutput=false is ignored:
(2)
The documented function 'isclass' does not exist (has it been renamed to 'isobject'?)
(3)
Personally, I find the documentation on "character string arguments" quite confusing:
The part about "must return a string value" does not seem to be required, but the following form seems to be obsolete anyway:
Cheers,
Markus
|