EES Matlab interface?
11 次查看(过去 30 天)
显示 更早的评论
Can someone give me a point by point on how to use the EES in the Matlab, please?
0 个评论
回答(1 个)
Dhananjay Kumar
2020-2-17
1 个评论
ayman alkezza
2020-4-5
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
---------------------------------------------------------------------------
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!