Main Content

.NET Generic Classes in MATLAB

Create .NET generic classes, invoke .NET generic methods in MATLAB®

Generic classes are a feature of the C# programming language. These topics show how to use generic classes in MATLAB.

Functions

NET.createGenericCreate instance of specialized .NET generic type
NET.invokeGenericMethodInvoke generic method of object
NET.convertArray(Not recommended) Convert numeric MATLAB array to .NET array

Classes

NET.GenericClassRepresent parameterized generic type definitions

Topics