Closed hyosmos closed 3 years ago
this is an issue related to the update in how figure handles are returned in matlab. h
used to be a single number identifying the figure ID. In the most recent versions of matlab h
is instead a struct.
The code compatible with matlab after 2017:
hstr = num2str(h.Number)
@wandell @JWinawer
this is an issue related to the update in how figure handles are returned in matlab.
h
used to be a single number identifying the figure ID. In the most recent versions of matlabh
is instead a struct.The code compatible with matlab after 2017:
hstr = num2str(h.Number)
@wandell @JWinawer
Thank you! It works.
I select
mrAnatAverageAcPcNifti.m
output data inmrAnatSetNiftiXform
, and it didn't work well.Anything wrong with it?