Matlab 2020a update 6 and Xcode v 12,5 beta 3

2 次查看(过去 30 天)
>> setup
*** EMHMM - Eye-Movement analysis with HMMs ***
- current version: v0.77
- checking for new version...
- official version is v0.76
- you are using a preview version v0.77
- checking MEX files...
* vbhmm_fb_mex not found
+ compiling...
--
Warning: Xcode is installed, but its license has not been accepted. Run Xcode and
accept its license agreement.
> In emhmm_mex_check (line 67)
In setup (line 27)
+ problem compiling MEX file:
--
ans =
'No supported compiler was found. For options, visit https://www.mathworks.com/support/compilers.'
--
+ falling back to MATLAB implementation. This will be slower.
* hem_hmm_bwd_fwd_mex not found
+ compiling...
--
Warning: Xcode is installed, but its license has not been accepted. Run Xcode and
accept its license agreement.
> In emhmm_mex_check (line 67)
In setup (line 27)
+ problem compiling MEX file:
--
ans =
'No supported compiler was found. For options, visit https://www.mathworks.com/support/compilers.'
--
I get this error message despite having installed XCode latest version, can someone please help?

回答(1 个)

Shiva Kalyan Diwakaruni
Hi,
To resolve this issue , delete the residual Xcode beta license agreement file at the following location:
/Library/Preferences/com.apple.dt.Xcode.plist
Afterwards, run the following command in the terminal to agree to the license for the full version of Xcode that is currently installed:
sudo xcodebuild -license accept
The compiler should now be found and the "mex" command should now work.
Hope it helps.

类别

Help CenterFile Exchange 中查找有关 Install Products 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by