getArrayEditorBrushCache.m is the source of error. It tries to "shade" entire row in the editor, but error pops up. Right now, commenting the following lines in the said m file seem to be an option (to get rid of the error). You can do so if you also don't have time to fix the problem.
If you don't have an array in a struct, then you may not see this error.
% % If any cell is brushed, the entire row must be shaded % if ~isvector(I) % I = repmat(any(I,2),[1 size(I,2)]); % end % if ~isempty(subsstr) % eval(['I = I' subsstr ';']); % end
file address: MATLAB\R2017b\toolbox\matlab\datamanager\+datamanager\getArrayEditorBrushCache.m