EES Matlab interface?
11 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Can someone give me a point by point on how to use the EES in the Matlab, please?
0 Commenti
Risposte (1)
Dhananjay Kumar
il 17 Feb 2020
1 Commento
ayman alkezza
il 5 Apr 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
---------------------------------------------------------------------------
Vedere anche
Categorie
Scopri di più su Simscape Fluids in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!