EES Matlab interface?

9 visualizaciones (últimos 30 días)
Ahmad Abubaker
Ahmad Abubaker el 15 de Feb. de 2020
Comentada: ayman alkezza el 5 de Abr. de 2020
Can someone give me a point by point on how to use the EES in the Matlab, please?

Respuestas (1)

Dhananjay Kumar
Dhananjay Kumar el 17 de Feb. de 2020
See if this helps:
  1 comentario
ayman alkezza
ayman alkezza el 5 de Abr. de 2020
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
---------------------------------------------------------------------------

Iniciar sesión para comentar.

Categorías

Más información sobre Simscape Fluids en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by