File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 114
114
opt.arraytoken_=arraytoken ;
115
115
opt.arraytokenidx_=arraytokenidx ;
116
116
opt.simplifycell= jsonopt(' SimplifyCell' ,1 ,opt );
117
- opt.simplifycellarray= jsonopt(' SimplifyCellArray' ,0 ,opt );
117
+ opt.simplifycellarray= jsonopt(' SimplifyCellArray' ,opt . simplifycell ,opt );
118
118
opt.formatversion= jsonopt(' FormatVersion' ,2 ,opt );
119
119
opt.fastarrayparser= jsonopt(' FastArrayParser' ,1 ,opt );
120
120
opt.parsestringarray= jsonopt(' ParseStringArray' ,0 ,opt );
281
281
end
282
282
283
283
if (varargin{1 }.simplifycell)
284
- if (iscell(object ) && ~isempty(object ) && isnumeric(object{1 }))
284
+ if (iscell(object ) && ~isempty(object ) && ( isnumeric(object{1 }) || isstruct(object{ 1 })) )
285
285
if (all(cellfun(@(e ) isequal(size(object{1 }), size(e )) , object(2 : end ))))
286
286
try
287
287
oldobj= object ;
You can’t perform that action at this time.
0 commit comments