How to install coolprop in matlab on mac
13 ビュー (過去 30 日間)
古いコメントを表示
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?
回答 (1 件)
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,
- Make sure supported C+ Compiler was installed and configured properly.
- Refer this link for supported compilers :- https://www.mathworks.com/support/requirements/supported-compilers.html
- Setup the default compiler, refer the following link :- https://www.mathworks.com/help/matlab/matlab_external/changing-default-compiler.html.
- 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
- Install the 'Coolprop' again.
Hope this is helpful.
0 件のコメント
参考
カテゴリ
Help Center および File 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!