Using CoolProp in Mac OS MONTEREY

6 ビュー (過去 30 日間)
ANDREA PLANU
ANDREA PLANU 2022 年 10 月 21 日
回答済み: Sourabh 2023 年 2 月 24 日
hi, I would like to use CoolProp in MATLAB. I saved the files it in my system and added the path, but still it is showing an error. Can anyone tell me where it is going wrong? thanks a lot
  3 件のコメント
ANDREA PLANU
ANDREA PLANU 2022 年 10 月 23 日
i tried to open it from finder
Rik
Rik 2022 年 10 月 23 日
You should call it as a function. A mex file is a compiled function, similar to a dll or exe. You shouldn't open it through finder because you will not be able to use it that way.

サインインしてコメントする。

回答 (1 件)

Sourabh
Sourabh 2023 年 2 月 24 日
Hi Andrea,
It looks like you are trying to open the MEX file from Finder.
Instead, it should be called as a function while making sure that it is in your MATLAB path. If the file is not in your current search path, you can add it by using the addpath command.
You can find out more information about MEX functions and how they work from the documentation:
If you want to play around with MEX functions, MathWorks also provides example files that you can use as a starting point for making your own MEX functions:

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by