Link: Simulink and Refprop
이전 댓글 표시
I want to read the thermal properties of a fluid on Simulink using REFPROP. So far, I cannot make it work.
I already used the refpropm function on Matlab but I dont know if it can be used in Simulink.
Anyone here used managed to use Refprop in Simulink?
댓글 수: 3
Esteban Felipe
2022년 6월 30일
i´ve the solution. you must copye this line in your function code ...
coder.extrinsic('refpropm')
so, you'll can to call the refprop code in your matalbfunction
grettings from Chile
Richard Rangel Alarcón
2022년 7월 5일
This works fine!!
Yifeng Tang
2022년 7월 29일
@Esteban Felipe Please consider copying your comment into the Answer section, since you've solved the issue :-)
답변 (1개)
Florian
2024년 2월 28일
0 개 추천
Add to your matlab code:
coder.extrinsic('refpropm')
another thing is you have to declare your variables for e.g.
x = double(0);
then it should work fine
카테고리
도움말 센터 및 File Exchange에서 Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!