EES Matlab interface?
조회 수: 6 (최근 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!