Make subsref robust to deeper levels of nesting
Executing
load data_series.mat
ts = dseries(data_series,'1999Q1');
o = x13(ts);
o.transform('function','log');
o.automdl('savelog','amd');
o.x11('save','(d10)');
% run
o.run();
stores results in a dseries
object in o.results.d10
. However, trying to read out the subfield o.results.d10.data
does not work as expected. Instead of a double, it will still return a dseries
. The problem seems to derive from subsref
only expecting two levels of nesting. This, by the way, also creates an infinite recursion problem in the Matlab variable editor, as shown in the screenshot.