I have started using object in Matlab but I do not understand how to define or call non-constructor methods. Just a stupid example: defining this method :
if true function NoteDot = CheckingTheDot(obj) if obj.IsItAFullHeadNote NoteDot = true; end endend
and calling as S.CheckingTheDot() it works(S is an instance of the class of course). Instead if I define it as:
if true function NoteDot = CheckingTheDot(obj,a) if obj.IsItAFullHeadNote && a>2 NoteDot = true; end endend
and calling it as S.CheckingTheDot(a); it returns the error: "Too many input arguments" Thanks in advance
Best Answer