upgrade - MATLAB dicominfo fails in 2015b -
when trying open dicom file this: index exceeds matrix dimensions.
error in dicominfo>parseperson (line 371) personname(p).(pnparts{q}) = [personname(p).(pnparts{q}) '=' componentparts{q}];
however used work smoothly in 2013a. know matter?
it's indeed bug in matlab r2015b. solution change p
q
didn't work me. seems work:
swap line 336 of dicominfo.m for
personname = repmat(makeperson(pnparts),[1,numel(splitrawdata)]);
swap line 354 of dicominfo.m for
personname(p) = makeperson(pnparts);
Comments
Post a Comment