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!