<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>The most likely issue is that the Type155.dll in the
.\Trnsys18\Exe\ directory is not compiled for the version of
Matlab that you are using. Look in the .\Trnsys18\Exe\DLLs\
directory and extract the Type155.dll file from the *.zip file
that corresponds to your version of Matlab. If you do not see your
version of Matlab in that directory then send an email to your
techsupport hotline and then can send you the appropriate file for
your Matlab version.</p>
<p>kind regards,</p>
<p> David</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 08/25/2020 10:08, saeid
mohammadzadeh wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CABCqxAL4jPYOZTuJZPKVgOzuDvK7H4EmqWog8AvKOmOFpu+2BA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:small">Dear
Mr. David;</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:small"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:small">Thank
you so much for your email. Unfortunately, this example does
not work in my TRNSYS and gives the error of "64 and 32bit
version....". While both software was installed using the
64bit version. </div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:small"><br>
</div>
<div>
<div dir="ltr" data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div
style="color:rgb(0,0,0)"><i
style="font-size:12.8px"><font size="2" color="#000000"><i><font
face="arial,
helvetica,
sans-serif"
color="#000000">Best
Regards</font></i></font></i><br>
</div>
<div
style="color:rgb(0,0,0)"><i><font
size="2"
face="arial,
helvetica,
sans-serif">Saeid
Mohammadzadeh
Bina, Dr. (Eng.)</font></i></div>
<div
style="color:rgb(0,0,0)"><i
style="font-size:12.8px;color:rgb(34,34,34)"><font size="2" face="times
new roman, new
york, times,
serif"
color="#000000"><i><font
size="3"
face="arial,
helvetica,
sans-serif"
color="#000000">-------------------------------------------------</font></i></font></i></div>
<div
style="color:rgb(0,0,0);font-family:HelveticaNeue,"Helvetica
Neue",Helvetica,Arial,"Lucida Grande",sans-serif"><font
size="2" face="times
new roman, new york,
times, serif"
color="#000000">
<div align="left"><font
style="font-size:16px" size="3" face="arial, helvetica, sans-serif"><font
size="2"
face="times
new roman, new
york, times,
serif"
color="#000000">
<div
align="left"><em><font
face="times
new
roman,serif">Akita
<var></var>University</font></em><br>
</div>
</font></font><font
face="arial,
helvetica,
sans-serif"><font
size="2"
face="times
new roman, new
york, times,
serif"
color="#000000">
<div
align="left"><span
style="font-family:"Times New Roman",serif"><i>Graduate
school of
International
Resource
Sciences</i></span><font
face="times
new
roman,serif"><em>.<br>
1-1 Tegata
gakuen-machi,
Akita
010-8502,
Japan</em></font></div>
<div
align="left"><font
face="times
new
roman,serif"><em>Tel: </em></font><em
style="font-family:"times new roman",serif">+815068665026
(Japan)</em></div>
<div
align="left"><em
style="font-family:"times new roman",serif">
+989141011757
(Iran)</em><em
style="font-family:"times new roman",serif"> </em></div>
</font></font></div>
<div align="left"><font
style="font-size:16px" size="3" face="garamond, new york, times, serif"><em>E-mail: </em></font><a
href="mailto:s.mohammadzadeh66@gmail.com" target="_blank"
moz-do-not-send="true"><em>d9515254@s.akita-u.ac.jp</em></a><em
style="font-size:16px"> </em></div>
<div
style="font-size:16px"
align="left"><em
style="font-family:garamond,"new
york",times,serif;font-size:medium;background-color:rgba(0,0,0,0);margin:0px;padding:0px;color:blue">
<a
href="mailto:mohammadzadehsaeid@yahoo.com"
rel="nofollow"
style="font-family:garamond,"new
york",times,serif;font-size:medium;background-color:rgba(0,0,0,0);margin:0px;padding:0px;color:blue"
target="_blank" moz-do-not-send="true">mohammadzadehsaeid@yahoo.com</a></em></div>
</font><font
style="font-size:16px"
size="2" face="times
new roman, new york,
times, serif"
color="#000000">
<div align="left">
<div
style="font-family:HelveticaNeue,"Helvetica
Neue",Helvetica,Arial,"Lucida
Grande",sans-serif;font-size:16px"><i><font
size="2"
face="times
new roman, new
york, times,
serif"
color="#000000"><i><font
size="3"
face="arial,
helvetica,
sans-serif"
color="#000000">-------------------------------------------------<br>
<br>
</font></i></font></i></div>
</div>
</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Aug 25, 2020 at 11:35
PM David BRADLEY <<a href="mailto:d.bradley@tess-inc.com"
target="_blank" moz-do-not-send="true">d.bradley@tess-inc.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>Dr. Bina,</p>
<p> I would recommend that you first try to get the Matlab
example running before trying your own coupling. That will
ensure that all the potential connection problems are
sorted out. The Type155 section of the
04-MathematicalReference manual (located in the
.\TrnsysXX\Documentation\ directory contains a knowledge
base about trouble shooting the connection.</p>
<p>kind regards,</p>
<p> David</p>
<p><br>
</p>
<div>On 08/25/2020 04:04, saeid mohammadzadeh via
TRNSYS-users wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:small">Dear
users;</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:small">Can
anyone please help me how to call a matlab code to
TRNSYS, step by step?</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:small">I
have a Matlab code that receives a time base data and
delivers the output based on those input data. The
main objective is to connect these two software that
the input data of the Matlab comes from TRNSYS. </div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:small">Thank
you so much in advance. </div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:small"><br>
</div>
<div>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div
style="color:rgb(0,0,0)"><i
style="font-size:12.8px"><font size="2" color="#000000"><i><font
face="arial,
helvetica,
sans-serif"
color="#000000">Best
Regards</font></i></font></i><br>
</div>
<div
style="color:rgb(0,0,0)"><i><font
size="2"
face="arial,
helvetica,
sans-serif">Saeid
Mohammadzadeh
Bina, Dr.
(Eng.)</font></i></div>
<div
style="color:rgb(0,0,0)"><i
style="font-size:12.8px;color:rgb(34,34,34)"><font size="2" face="times
new roman, new
york, times,
serif"
color="#000000"><i><font
size="3"
face="arial,
helvetica,
sans-serif"
color="#000000">-------------------------------------------------</font></i></font></i></div>
<div><font
size="2"
face="times
new roman, new
york, times,
serif"
color="#000000">
<div
align="left"><font
style="font-size:16px" size="3" face="arial, helvetica, sans-serif"><font
size="2"
face="times
new roman, new
york, times,
serif"
color="#000000">
<div
align="left"><em><font
face="times
new
roman,serif">Akita
<var></var>University</font></em><br>
</div>
</font></font><font
face="arial,
helvetica,
sans-serif"><font
size="2"
face="times
new roman, new
york, times,
serif"
color="#000000">
<div
align="left"><span
style="font-family:"Times New Roman",serif"><i>Graduate school
of
International
Resource
Sciences</i></span><font
face="times
new
roman,serif"><em>.<br>
1-1 Tegata
gakuen-machi,
Akita
010-8502,
Japan</em></font></div>
<div
align="left"><font
face="times
new
roman,serif"><em>Tel: </em></font><em
style="font-family:"times new roman",serif">+815068665026
(Japan)</em></div>
<div
align="left"><em
style="font-family:"times new roman",serif">
+989141011757
(Iran)</em><em
style="font-family:"times new roman",serif"> </em></div>
</font></font></div>
<div
align="left"><font
style="font-size:16px" size="3" face="garamond, new york, times, serif"><em>E-mail: </em></font><a
href="mailto:s.mohammadzadeh66@gmail.com" target="_blank"
moz-do-not-send="true"><em>d9515254@s.akita-u.ac.jp</em></a><em
style="font-size:16px"> </em></div>
<div
style="font-size:16px"
align="left"><em>
<a
href="mailto:mohammadzadehsaeid@yahoo.com"
rel="nofollow"
target="_blank" moz-do-not-send="true">mohammadzadehsaeid@yahoo.com</a></em></div>
</font><font
style="font-size:16px"
size="2"
face="times
new roman, new
york, times,
serif"
color="#000000">
<div
align="left">
<div><i><font
size="2"
face="times
new roman, new
york, times,
serif"
color="#000000"><i><font
size="3"
face="arial,
helvetica,
sans-serif"
color="#000000">-------------------------------------------------<br>
<br>
</font></i></font></i></div>
</div>
</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
TRNSYS-users mailing list
<a href="mailto:TRNSYS-users@lists.onebuilding.org" target="_blank" moz-do-not-send="true">TRNSYS-users@lists.onebuilding.org</a>
<a href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org" target="_blank" moz-do-not-send="true">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a>
</pre>
</blockquote>
<pre cols="72">--
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
3 North Pinckney Street - suite 202
Madison, WI 53703 USA
P:+1.608.274.2577
F:+1.608.278.1475
<a href="mailto:d.bradley@tess-inc.com" target="_blank" moz-do-not-send="true">d.bradley@tess-inc.com</a>
<a href="http://www.tess-inc.com" target="_blank" moz-do-not-send="true">http://www.tess-inc.com</a>
<a href="http://www.trnsys.com" target="_blank" moz-do-not-send="true">http://www.trnsys.com</a></pre>
</div>
</blockquote>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
3 North Pinckney Street - suite 202
Madison, WI 53703 USA
P:+1.608.274.2577
F:+1.608.278.1475
<a class="moz-txt-link-abbreviated" href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a></pre>
</body>
</html>