EES Matlab interface?
显示 更早的评论
Can someone give me a point by point on how to use the EES in the Matlab, please?
回答(1 个)
Dhananjay Kumar
2020-2-17
0 个投票
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
---------------------------------------------------------------------------
类别
在 帮助中心 和 File Exchange 中查找有关 Simscape Fluids 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!