Main Content

Limitations of Strongly Typed Interface for C#

The strongly typed interface for C# does not support:

  • Handle classes

  • Abstract classes

  • Static classes

  • Name-value arguments

  • varargin input arguments

  • varargout output arguments

  • .NET objects

Output types for methods and functions are not generated. The interface uses the C# dynamic type.

Inherited class members are generated like regular members. You can access inherited members, but inheritance relationships are not maintained.

The interface supports only user-authored MATLAB® functions, user-authored MATLAB classes, and classes that inherit from user-authored classes.

Properties and methods of a MATLAB enumeration are not generated in C#.

See Also