Error: Insufficient number of outputs from right hand side of equal sign to satisfy assignment in ft_read_mri
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
extracting compressed dataset to /tmp/x923803b604e8fcd6307b919260113255/...
extracted dataset is located at /tmp/x923803b604e8fcd6307b919260113255/sub-01_anat_sub-01_T1w.nii
Insufficient number of outputs from right hand
side of equal sign to satisfy assignment.
Error in ft_version (line 161)
ftver = tmp.Version;
Error in ft_notification (line 74)
[v, p] = ft_version;
Error in ft_notice (line 62)
ft_notification(varargin{:});
Error in ft_read_mri (line 475)
ft_notice('the coordinate system appears to be ''%s''\n', coordsys);
Error in untitled (line 1)
[mri] = ft_read_mri('sub-01_anat_sub-01_T1w.nii.gz');
0 Kommentare
Antworten (1)
Walter Roberson
am 16 Jan. 2022
ftver = tmp.Version;
Somehowm, tmp is an empty struct or object (that does have a field or property named Version) . Remember that if you have a structure name followed by a period followed by a field name, then you have structure expansion happening; if the struct existed and was a scalar struct then tmp.Version would give you a single output; if the struct was a struct array, tmp(1) to tmp(5) for example, then tmp.Version would expand to that many outputs as a comma separated listed. And likewise, if tmp is empty them tmp.Version expands to zero outputs.
0 Kommentare
Siehe auch
Kategorien
Mehr zu MRI finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!