Link: Simulink and Refprop
조회 수: 6 (최근 30일)
이전 댓글 표시
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
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일
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
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Thermal Liquid Library에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!