<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Palatino Linotype";
panose-1:2 4 5 2 5 5 5 3 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
p.xmsonormal, li.xmsonormal, div.xmsonormal
{mso-style-name:x_msonormal;
margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=TR link=blue vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Dear Werner,</p><p class=MsoNormal>Thanks for the response. Is there any example about it. </p><p class=MsoNormal>BR,</p><p class=MsoNormal>HG Ozcan</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Windows için <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Posta</a> ile gönderildi</p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='border:none;padding:0cm'><b>Kimden: </b><a href="mailto:werner.keilholz@cstb.fr">KEILHOLZ Werner</a><br><b>Gönderilme: </b>12 Mayıs 2022 Perşembe 10:50<br><b>Kime: </b><a href="mailto:trnsys-users@lists.onebuilding.org">trnsys-users@lists.onebuilding.org</a><br><b>Bilgi: </b><a href="mailto:ozcanhuseyingunhan@gmail.com">HuseyinGunhanOzcan</a><br><b>Konu: </b>RE: Calling External Programs (MATLAB)</p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><span style='font-size:12.0pt;color:black'>Hello, <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;color:black'>There is a TRNSYS type allowing to call Matlab ; you find it under Utility\Calling External Programs\Matlab<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;color:black'>If your Matlab version does not match the one used by the type you may have to update it from the <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;color:black'>\TRNSYS18\Exe\DLLs<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;color:black'>directory. <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;color:black'>See \TRNSYS18\Documentation\04-MathematicalReference.pdf, 4.11.20. Type 155: Calling External Programs: Matlab™ 4–678<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;color:black'>for documentation.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;color:black'>Werner<o:p></o:p></span></p></div><p class=MsoNormal><img border=0 width=694 height=2 style='width:7.2291in;height:.0208in' id="Horizontal_x0020_Line_x0020_1" src="cid:image001.png@01D865F1.572759B0"><o:p></o:p></p><div id=divRplyFwdMsg><p class=MsoNormal><b><span style='color:black'>De :</span></b><span style='color:black'> TRNSYS-users <trnsys-users-bounces@lists.onebuilding.org> de la part de HuseyinGunhanOzcan via TRNSYS-users <trnsys-users@lists.onebuilding.org><br><b>Envoyé :</b> jeudi 12 mai 2022 09:44<br><b>À :</b> trnsys-users@lists.onebuilding.org <trnsys-users@lists.onebuilding.org><br><b>Cc :</b> HuseyinGunhanOzcan <ozcanhuseyingunhan@gmail.com><br><b>Objet :</b> [TRNSYS-users] Calling External Programs (MATLAB)</span> <o:p></o:p></p><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=xmsonormal>Dear all,</p><p class=xmsonormal>I hope you are all doing well. In a research study, we are trying to develop a mathematical model of battery system in Matlab simulation studio then to call this model to TRNSYS Simulation studio (co-simulation work). </p><p class=xmsonormal>However, we could not find any information about “hoıw these models can communicate between each other (The details of MATLAB code for communication)”. We would be very greatful if you can share your experience about this issuue and share some examples if you know.</p><p class=xmsonormal> </p><p class=xmsonormal>Best regards.</p><p class=xmsonormal> </p><div><p class=xmsonormal><b><i><span style='font-family:"Palatino Linotype",serif;color:#0D0D0D'>Assist. Prof. Dr. Hüseyin Günhan ÖZCAN</span></i></b></p><p class=xmsonormal><b><i><span style='font-family:"Palatino Linotype",serif;color:#0D0D0D'>Bahçeşehir University</span></i></b></p><p class=xmsonormal><b><i><span style='font-family:"Palatino Linotype",serif;color:#0D0D0D'>Fac. of Eng. and Nat. Sci., Dept. of Energy Sys. Eng.</span></i></b></p></div><p class=xmsonormal> </p></div></div><p class=xmsonormal> </p><p class=MsoNormal><o:p> </o:p></p></div></body></html>