Main Content

.NET Generic Classes in MATLAB

R2026b
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

Classes

NET.GenericClassParameterized generic type definitions

Topics