I have created a simple object oriented MATLAB class and defined some properties and public methods. When I compile the class into a .NET component using MATLAB Builder NE, I cannot see any of those methods. I did not get any errors while creating the component.
The MATLAB class is as follows:
classdef TestClass properties (SetAccess = public, GetAccess = public) v = 0; end methods (Access = public) function pout = GetV(TestClass) pout=TestClass.v; end function TestClass = SetV(TestClass,inv) TestClass.v = inv; end function TestClass = Doit(TestClass,inv) TestClass.v = TestClass.v + inv; end end
Best Answer