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

4 views (last 30 days)
Vanessa Cho
Vanessa Cho on 18 Apr 2021
>> 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?

Answers (1)

Shiva Kalyan Diwakaruni
Shiva Kalyan Diwakaruni on 5 May 2021
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.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by