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!