<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Salma,</p>
    <p>  I'm having a little bit of a hard time following what you are
      trying to do. However, hopefully the following will clarify</p>
    <p>Matlab2015b was the last Matlab release for which a 32-bit
      version was available.</p>
    <p>Trnsys17 was a 32-bit application and will only communicate with
      the 32-bit version of Matlab. Likewise, Trnsys18 is a 64-bit
      application and will only communicate with a 64-bit version of
      Matlab. It makes sense that the Trnsys17 Matlab examples will not
      run if you take the 64-bit Type155.dll from Trnsys18 and put it in
      the Trnsys17\Exe\ directory. I suppose my confusion is as to why
      you would not just run in Trnsys18 with Matlab2016a if you already
      have Trnsys18.</p>
    <p>kind regards,</p>
    <p> David</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 01/21/2020 16:37, SALMA LAHMAR via
      TRNSYS-users wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAFpXWoqCWz7Z4SPLTNO_PxiHMKatewDrdnmsHQf6vmX94PDQ+g@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <pre style="white-space:pre-wrap"><p class="MsoNormal" style="margin:0cm 0cm 8pt;color:rgb(0,0,0);line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:12pt;font-family:"Calibri Light",sans-serif;color:rgb(17,17,17)" lang="EN-US">Hello everyone,</span></p><p class="MsoNormal" style="margin:0cm 0cm 8pt;color:rgb(0,0,0);line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:12pt;font-family:"Calibri Light",sans-serif;color:rgb(17,17,17)" lang="EN-US">My windows is windows 7 64 bit</span></p><p class="MsoNormal" style="margin:0cm 0cm 8pt;color:rgb(0,0,0);line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:12pt;font-family:"Calibri Light",sans-serif;color:rgb(17,17,17)" lang="EN-US">Matlab R2016a(64 bit)</span></p><p class="MsoNormal" style="margin:0cm 0cm 8pt;color:rgb(0,0,0);line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:12pt;font-family:"Calibri Light",sans-serif;color:rgb(17,17,17)" lang="EN-US">trnsys 18</span></p><p class="MsoNormal" style="margin:0cm 0cm 8pt;color:rgb(0,0,0);line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(17,17,17);font-family:"Calibri Light",sans-serif;font-size:12pt">- I go </span><span style="color:rgb(17,17,17);font-family:"Calibri Light",sans-serif;font-size:12pt">to </span><b style="color:rgb(17,17,17);font-family:"Calibri Light",sans-serif;font-size:12pt">C:\Trnsys18\Exe\DLLs</b><span style="color:rgb(17,17,17);font-family:"Calibri Light",sans-serif;font-size:12pt">, I find the relevant version of </span><b style="color:rgb(17,17,17);font-family:"Calibri Light",sans-serif;font-size:12pt">Matlab </b><b style="color:rgb(17,17,17);font-family:"Calibri Light",sans-serif;font-size:12pt">(2016a)</b><span style="color:rgb(17,17,17);font-family:"Calibri Light",sans-serif;font-size:12pt"> and extracted and copy it to </span><b style="color:rgb(17,17,17);font-family:"Calibri Light",sans-serif;font-size:12pt">C:\Trnsys17\Exe</b><span style="font-family:"Times New Roman";font-size:7pt;color:rgb(34,34,34)">       </span></p><p class="MsoNormal" style="margin:0cm 0cm 8pt;color:rgb(0,0,0);line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;font-size:11pt;font-family:Calibri,sans-serif"><span style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;font-size:12pt;line-height:17.12px;font-family:"Calibri Light",sans-serif;color:rgb(17,17,17)" lang="EN-US">-I set </span><b style="font-size:11pt">C: \MATLAB\R2016a\bin\win64</b><span style="font-size:11pt"> as </span><span style="font-size:11pt">environment variables in the path of </span><span style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;font-size:12pt;line-height:17.12px;font-family:"Calibri Light",sans-serif;color:rgb(34,34,34)" lang="EN-US">System </span><span style="color:rgb(34,34,34);font-family:"Calibri Light",sans-serif;font-size:12pt">Variables</span></p><p class="MsoNormal" style="margin:0cm 0cm 8pt;color:rgb(0,0,0);line-height:15.6933px;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:12pt;line-height:17.12px;font-family:"Calibri Light",sans-serif;color:rgb(17,17,17);background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial" lang="EN-US">But the example "<b>Calling Matlab</b>" still doesn't work.</span></p><p class="MsoNormal" style="margin:0cm 0cm 8pt;color:rgb(0,0,0);line-height:15.6933px;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:12pt;line-height:17.12px;font-family:"Calibri Light",sans-serif;color:rgb(17,17,17);background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial" lang="EN-US">
</span></p><p class="MsoNormal" style="margin:0cm 0cm 8pt;color:rgb(0,0,0);line-height:15.6933px;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:12pt;line-height:17.12px;font-family:"Calibri Light",sans-serif;color:rgb(17,17,17);background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial" lang="EN-US">Regards</span></p><p class="MsoNormal" style="margin:0cm 0cm 8pt;line-height:15.6933px;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:12pt;line-height:17.12px;font-family:"Calibri Light",sans-serif;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial" lang="EN-US"><font color="#000000">SALMA</font></span></p></pre>
      </div>
      <div hspace="streak-pt-mark" style="max-height:1px"><img alt=""
          style="width:0px;max-height:0px;overflow:hidden"
src="https://mailfoogae.appspot.com/t?sender=acy5sYWhtYXJAZW5pbS5hYy5tYQ%3D%3D&type=zerocontent&guid=9d9b10fc-9f79-443e-bc7a-1654b502f33b"
          moz-do-not-send="true"><font size="1" color="#ffffff">ᐧ</font></div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a>
<a class="moz-txt-link-freetext" href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a>
</pre>
    </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>