Link: Simulink and Refprop
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Yifeng Tang
le 29 Juil 2022
@Esteban Felipe Please consider copying your comment into the Answer section, since you've solved the issue :-)
Réponses (1)
Florian
le 28 Fév 2024
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 commentaires
Voir également
Catégories
En savoir plus sur Thermal Liquid Library dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!