Tue 20 Dec 2011 07:13:38 PM UTC, comment #5:
Check the function validatestring() which was explicitly designed to help handle these Matlab input quirks. It can gracefully expand short options to long options. The help text is
But cellfun, which is a C++ function, has no obvious way to call the validatestring.m file.
|
Tue 20 Dec 2011 06:07:44 AM UTC, comment #3:
Maybe it is just that Matlab accepts any unique parameter. Can you check to see whether it also accepts "uniformoutpu", "uniformoutp", "uniformout", ..., "u"?
Matlab (R2009b) accepts all the shortenings until 'U'
which fails.
Michael
|
Tue 20 Dec 2011 04:37:58 AM UTC, comment #2:
Maybe it is just that Matlab accepts any unique parameter. Can you check to see whether it also accepts "uniformoutpu", "uniformoutp", "uniformout", ..., "u"?
|