We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4848b2d commit e350a5aCopy full SHA for e350a5a
1 file changed
jdict.m
@@ -169,7 +169,7 @@
169
170
% handle {} attribute access in navigation chain
171
if (strcmp(idx.type, '{}') && iscell(idx.subs) && length(idx.subs) == 1 && ischar(idx.subs{1}))
172
- val = [obj.getattr(trackpath, idx.subs{1})];
+ val = obj.getattr(trackpath, idx.subs{1});
173
i = i + 1;
174
continue
175
end
@@ -374,14 +374,6 @@
374
if (~isempty(dims) && iscell(dims))
375
dimpos = find(strcmp(dims, dimname));
376
if (~isempty(dimpos) && ~isempty(idxkey(oplen).subs))
377
- % navigate to the data
378
- data = obj.data;
379
- if (oplen > 2)
380
- data = subsref(obj, idxkey(1:oplen - 2));
381
- if (isa(data, 'jdict'))
382
- data = data.data;
383
- end
384
385
% build full indices
386
nddata = length(dims);
387
indices = cell(1, nddata);
0 commit comments