I have a custom classdef class that I work with frequently. In one of the functions say the overloaded functions, such as save() and load() for this class. I would like to be able to determine the class object's workspace name.
Is there a MATLAB function that can determine the workspace name for a given argument. Something like function who() but that would take a MATLAB object as an argument and return a string.
Best Answer