I read this documentation page about how to invoke superclass constructor from a child class. The syntax they mention is this:
obj = obj@MySuperClass(SuperClassArguments);
I'm wondering what the purpose of @
symbol in the above syntax is. Is the @
symbol just a meaningless place occupier in the syntax or does the @
symbol represent the function handle symbol in MATLAB?
If I use:
obj = MySuperClass(SuperClassArguments);
instead of
obj = obj@MySuperClass(SuperClassArguments);
it still works fine. So what is the purpose of using @
symbol?