As a frequent user of cellfun(..., \'UniformOutput\', false)
, I was surprised to discover that the latter two arguments could be input as cellfun(..., \'u
If a routine uses MATLAB's inputParser
functionality then usually any parameter name can be shortened such that it is still unambiguous and is matched case insensitively. The same is true for properties of objects such as get(gcf, 'pos')
as a shorter version of get(gcf, 'Position')
.
However, I don't know if there is any documentation on this usage and I suggest you try it and see.
And 0
is usually equivalent to false
(non-zero being true
).
PS I would suggest that using these shortcuts is fine at the command line but when writing functions and scripts it is better to use the full names.