EES Matlab interface?

조회 수: 6 (최근 30일)
Ahmad Abubaker
Ahmad Abubaker 2020년 2월 15일
댓글: ayman alkezza 2020년 4월 5일
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