Calling .NET Extension Methods
Unlike C# applications, MATLAB®处理一个扩展方法的静态方法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, see the MSDN®article athttps://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2008/bb383977(v=vs.90).