This is a limitation of the METHODS, METHODSVIEW, LIBFUNCTIONS, and LIBFUNCTIONVIEW functions in MATLAB release version up to and including MATLAB 7.6 (R2008a). METHODS -full does not list more then 8 output arguments and displays only the first output. Note that the function can still be called correctly and all outputs are returned.
A workaround to view the full function signature is to use the following:
libpkg=findpackage('lib');
class=findclass(libpkg,'fifteenArgDLL');
methods=class.methods;
The "method" variable would then contain information about the library:
>> get(methods(1))
Name: 'myfun'
Description: 'myfun'
Signature: [1x1 schema.signature]
Static: 'on'
FirstArgDispatch: 'on'
>> get(methods(1).Signature)
InputTypes: {16x1 cell}
OutputTypes: {17x1 cell}
Varargout: 'off'
Varargin: 'off'
>> methods(1).Signature.OutputTypes
ans =
'double'
'doublePtr'
'doublePtr'
'doublePtr'
'doublePtr'
'doublePtr'
'doublePtr'
'doublePtr'
'doublePtr'
'doublePtr'
'doublePtr'
'doublePtr'
'doublePtr'
'doublePtr'
'doublePtr'
'doublePtr'
'doublePtr'
Best Answer