EES Matlab interface?

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

0 个投票

See if this helps:

1 个评论

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
---------------------------------------------------------------------------

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Simscape Fluids 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by