How to install coolprop in matlab on mac

조회 수: 34 (최근 30일)
Qi Nie
Qi Nie 2022년 3월 30일
답변: Infinite_king 2024년 1월 10일
I need use coolprop with matlab in my work. But I have met some problem of how to install coolprop in matlab. I have install python and I used the terminal to install the pip. But in Matlab, it cannot find the pip. Can anyone give me some advices?
  댓글 수: 2
Dolon Mandal
Dolon Mandal 2022년 4월 25일
@Qi Nie The following links can be helpful: Coolprop, ML Answer.
Qi Nie
Qi Nie 2022년 5월 1일
I followed his steps, but it still doesn't install properly

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

답변 (1개)

Infinite_king
Infinite_king 2024년 1월 10일
Hi Qi Nie,
It looks like the error is emanating from the call to 'clang.' The prerequisites for the 'Coolprop' wrapper include a C++ compiler. The C++ compiler might not be configured properly.
Follow the below troubleshooting steps to resolve the error,
  1. Make sure supported C+ Compiler was installed and configured properly.
  2. Refer this link for supported compilers :- https://www.mathworks.com/support/requirements/supported-compilers.html
  3. Setup the default compiler, refer the following link :- https://www.mathworks.com/help/matlab/matlab_external/changing-default-compiler.html.
  4. Make sure the following requirements are met before installing 'Coolprop', http://www.coolprop.org/coolprop/wrappers/index.html#:~:text=Android-,Common%20Wrapper%20Prerequisites,-%C2%B6
  5. Install the 'Coolprop' again.
Hope this is helpful.

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by