Bad CPU type in executable
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Dinesh
el 4 de Mayo de 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 comentarios
Ver también
Categorías
Más información sobre MRI en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!