필터 지우기
필터 지우기

Bad CPU type in executable

조회 수: 18 (최근 30일)
Reuben Addison
Reuben Addison 2023년 4월 13일
답변: Dinesh 2023년 5월 4일
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.

답변 (1개)

Dinesh
Dinesh 2023년 5월 4일
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.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by