Bad CPU type in executable
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I am using the latest iOS Ventura on a M1 Mac. I am running a toolbox in matlab DPARSF and I keep running into errors and I don’t know how to resolve it /bin/bash: ./dcm2nii_mac: Bad CPU type in executable Converting T1 Images:Sub_01 OK Error using DPARSFA_run Index exceeds the number of array elements. Index must not exceed 0.
Error in DPARSFA>pushbuttonRun_Callback (line 1601) [Error]=DPARSFA_run(handles.Cfg);
Error in gui_mainfcn (line 95) feval(varargin{:});
Error in DPARSFA (line 33) gui_mainfcn(gui_State, varargin{:});
Error using msgbox Error while evaluating UIControl Callback.
0 Kommentare
Antworten (1)
Dinesh
am 4 Mai 2023
Hi Reuben.
I think the error that you're encountering ("Bad CPU type in executable") is mostly because the "dcm2nii_mac" executable in the DPARSFA toolbox is not compatible with the M1 Mac architecture. It's because the new M1 Macs use an ARM based processor and I believe the dcm2nii_mac executable might be built for x86 processors, more specifically x86_64 which were used in previous Macs that used Intel.
To resolve this, firstly check if there's an updated version of the DPARSFA toolbox that is compatible for the M1 Mac architecture.
If there is no such update available, then you can use a tool like "Rosetta 2" that allows you to run Intel based apps on M1 Mac.
Here's a link that can help you with the same.
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!