Is there a way to grab the name of a structure that is passed into a function in matlab from within the new function.
Example:
y = fnX(StructName) % call function
function[y] = fnX(name)
% here is where I want to capture StructName as char text.
end
It seems that the structure is renamed and the original name is lost within the function. Any suggestions?