playing around with a scatteredInterpolant class that has an overloaded subsref method, calling it improperly produces the following error:
>> A(1,2,3,4) error: scatteredInterpolant: query points dimension must match interpolant error: called from subsref at line 317 column 17
my error message has the class/mfilename in it, but the stacktrace just says the error lives in subsref, no reference to the classname. is that the preferred behavior? Note that a similar calling error in matlab produces:
>> A(1,2,3,4) Error using scatteredInterpolant/subsref Invalid arguments specified in evaluating the interpolant.
(didn’t see anything about error stack in the wiki or a quick bug search.)