Calling .NET Extension Methods
Unlike C# applications, MATLAB® handles an extension method as a static method of the class that defines the method. Refer to your product documentation for the namespace and class name you need to call such methods.
For information about extension methods, refer to Microsoft® documentation.