Executable file appdesigner with Coolprop in python

1 次查看(过去 30 天)
Hi all, I have a question. I am a student and i like it to make applications in app designer. For a school project i designed a easy thermodynamic model (Rankine Cycle and Heatpump and more). The values are calculated with coolprop. Everything working fine and great. But the problem is i want to make it a stand alone application. I install on my other computer the python version (Anaconda) The application runs but i see NO values. When i delete Anaconda the application didn't run. Can some one help me to activate the coolprop in python 3.9 for a stand alone application. In the code i already use [v,e] = pyversion; system([e,' -m pip install --user -U CoolProp']) but it didn't work. Can some one help me?

回答(1 个)

Vijay
Vijay 2022-11-17
编辑:Vijay 2022-11-17
If you can share the code, then it would be easier to point out the issue.
You can try to isolate the issue.
Problem can be one among the following
  1. your code.
  2. Interfacing with Matlab is not correct.
You can go to the link below to verify your installation and interfacing.
You can write a small and simple program and try running it to see if there is a problem with your code.
If nothing works you can debug your code step by step.
Hope that helps!
  2 个评论
Tazura1998
Tazura1998 2022-11-21
Hi Vijay,
Thanks for you reaction, i already solved it.
Thank a lot!
Tazura1998
Tazura1998 2022-12-1
Hi Vijay,
The program worked well i have a new laptop and install it. But i have the error again maybe you can help? i install anaconda etc and coolprop i can use python with coolprop spyder plugin. But when i run my matlab program for school i got this :(
Kind regards,
Tazura

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by