I was trying to setup mex in 2018b on mac. However I got the following
>> mex -v -setup
Verbose mode is on.
... Looking for compiler 'Xcode with Clang' ...
... Looking for environment variable 'DEVELOPER_DIR' ...No.
... Executing command 'xcode-select -print-path' ...Not enough input arguments.
Does any one know how to deal with this?

댓글 수: 2

Jan
Jan 2019년 2월 20일
Did you install Xcode already?
Mingxi Liu
Mingxi Liu 2019년 2월 20일
Yes I did. I installed xcode 10.1(10B61).
I can run 'xcode-select -print-path' in terminal and get "/Applications/Xcode.app/Contents/Developer".

댓글을 달려면 로그인하십시오.

답변 (1개)

Munish Raj
Munish Raj 2019년 2월 26일

0 개 추천

Hello Mingxi Liu,
pleasy try this command in your terminal
sudo xcode-select -s /Applications/Xcode.app
This should solve the issue.

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

릴리스

R2018b

태그

질문:

2019년 2월 20일

답변:

2019년 2월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by