Main Content
NET.invokeGenericMethod
Invoke generic method of object
Syntax
Description
calls instance or static generic method outargs
= NET.invokeGenericMethod(obj
,genericMethodName
,paramTypes
)genericMethodName
.
To display generic methods in MATLAB®, see the example Display .NET Generic Methods Using Reflection.
calls generic method with specified input arguments.outargs
= NET.invokeGenericMethod(obj
,genericMethodName
,paramTypes
,args
)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2009b