Effacer les filtres
Effacer les filtres

EES Matlab interface?

7 vues (au cours des 30 derniers jours)
Ahmad Abubaker
Ahmad Abubaker le 15 Fév 2020
Commenté : ayman alkezza le 5 Avr 2020
Can someone give me a point by point on how to use the EES in the Matlab, please?

Réponses (1)

Dhananjay Kumar
Dhananjay Kumar le 17 Fév 2020
See if this helps:
  1 commentaire
ayman alkezza
ayman alkezza le 5 Avr 2020
function [v,h] =Volume( fluid,T,P)
EESInput='FromMatlab.txt';
EESOutPut='ToMatlab.txt';
propinfo={fluid T P};
fid=fopen(EESInput,'W');
fprintf(fid,'%s %d %d',propinfo{:});
fclose(fid);
system (' C: \EES32 \EES.exe C:\Program Files\MATLAB\R2016b\bin\volume.ees /solve' );
v=dlmread(EESOutPut)
end
---------------------------------------------------------------------------

Connectez-vous pour commenter.

Catégories

En savoir plus sur Simscape Fluids 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!

Translated by