Hello,
Here is the class definition:
classdef first < handle methods (Static) function hello obj_first.bye end end methods function bye(obj) disp('that works') end endend
Here are my commands:
>> obj_first=first;>> obj_first.byethat works>> obj_first.helloUndefined variable "obj_first" or class "obj_first.bye".Error in first.hello (line 4) obj_first.bye>>
Can you please help me?
Thank you very much
Best Answer