>> [v,e] = pyversion; system([e,' -m pip install --user -U CoolProp'])
Requirement already up-to-date: CoolProp in c:\users\11024490\appdata\roaming\python\python37\site-packages (6.4.1)
You are using pip version 10.0.1, however version 21.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
ans =
0
>> py.CoolProp.CoolProp.PropsSI('T','P',101325,'Q',0,'Water')
Unable to resolve the name py.CoolProp.CoolProp.PropsSI.
>> py.CoolProp.CoolProp.PropsSI('T','P',101325,'Q',0,'Water')
Unable to resolve the name py.CoolProp.CoolProp.PropsSI.
"New pip installed previouys to this"

댓글 수: 1

hosein bashi
hosein bashi 2021년 10월 25일
Thanks. it works.Just I had to restart the session after your tips.

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

답변 (0개)

카테고리

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

제품

릴리스

R2019b

태그

질문:

2021년 2월 19일

댓글:

2021년 10월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by