EES Matlab interface?

10 次查看(过去 30 天)
Ahmad Abubaker
Ahmad Abubaker 2020-2-15
Can someone give me a point by point on how to use the EES in the Matlab, please?

回答(1 个)

Dhananjay Kumar
Dhananjay Kumar 2020-2-17
See if this helps:
  1 个评论
ayman alkezza
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
---------------------------------------------------------------------------

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Simscape Fluids 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by