<HTML xmlns:o><HEAD>
<STYLE><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></STYLE>
</HEAD>
<BODY class=hmmessage dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Hi Hsein,</DIV>
<DIV> </DIV>
<DIV>Thank you very much for your email. After checking all the Type155.dll
files matching the different Matlab versions in my .\exe\dll folder, I found
that the most recent version was that of R2011b. The version of Matlab I’m using
is R2014a which does not match any available files. I contacted Trnsys support
and David kindly sent me a copy of the right copy of Type155.dll. After
replacing the old file with the new, I followed the procedure given in your
email and the problem was essentially solved. I can now use Type 155 in my
Trnsys 17 projects.</DIV>
<DIV> </DIV>
<DIV>Kind regards</DIV>
<DIV> </DIV>
<DIV>Ali El-Nashar
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'></DIV>
<DIV style="FONT: 10pt tahoma">
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=hsein_moussawi@hotmail.com
href="mailto:hsein_moussawi@hotmail.com">Hsein Moussawi</A> </DIV>
<DIV><B>Sent:</B> Tuesday, June 23, 2015 10:34 PM</DIV>
<DIV><B>To:</B> <A title=trnsys-users@lists.onebuilding.org
href="mailto:trnsys-users@lists.onebuilding.org">trnsys-users@lists.onebuilding.org</A>
</DIV>
<DIV><B>Subject:</B> Re: [TRNSYS-users] TRNSYS-users Digest, Vol 126, Issue 33
</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV dir=ltr>Hi Ali,
<DIV> </DIV>
<DIV>In fact I faced similar problem while trying to connect the two software.
As David said you must check which MATLAB version is supported in your TRNSYS
version. If you are using trnsys 17, following the below steps must solve your
problem:</DIV>
<DIV><SPAN style="FONT-SIZE: 12pt"><BR></SPAN></DIV>
<DIV>
<UL>
<LI><SPAN style="FONT-SIZE: 12pt">Install MATLAB in your computer with
specific MATLAB releases are supported, only the 32-bit versions are supported
(to the best of my knowledge, the last supported version is R2012b).</SPAN>
<LI><SPAN style="FONT-SIZE: 12pt">Add MATLAB\bin\win32 folder directory to
Windows search path.</SPAN>
<LI><SPAN style="FONT-SIZE: 12pt">Select a specific (Type 155.DLL) for your
MATLAB version from (TRNSYS17\Exe\DLLs) folder.</SPAN>
<LI><SPAN style="FONT-SIZE: 12pt">Copy (Type 155.DLL) file to (TRNSYS17\Exe)
folder.</SPAN>
<LI><SPAN style="FONT-SIZE: 12pt">From (MATLAB\extern\lib\win32\lcc) folder
find and copy these files (libeng.lib, libmat.lib, libmex.lib and libmx.lib)
to (TRNSYS17\SourceCode\Optional folder).</SPAN>
<LI><SPAN style="FONT-SIZE: 12pt">Copy (Type 155.DLL) file to
(TRNSYS17\UserLib\ReleaseDLLs) folder.</SPAN>
<LI><SPAN style="FONT-SIZE: 12pt">Run MATLAB as an administrator.</SPAN>
<LI><SPAN style="FONT-SIZE: 12pt">Finally, write (regmatlabserver) command in
MATLAB’s Command Window to register the desired MATLAB session as an
automation server.</SPAN></LI></UL><BR></DIV>
<DIV>Hope you find these information useful,</DIV>
<DIV>Houssein.</DIV>
<DIV>
<DIV>
<P class=MsoNormal><o:p></o:p></P>
<P class=MsoNormal><o:p></o:p></P>
<P class=MsoNormal><o:p></o:p></P>
<P class=MsoNormal><o:p></o:p></P>
<P class=MsoNormal><o:p></o:p></P>
<P class=MsoNormal><o:p></o:p></P>
<P class=MsoNormal><o:p></o:p></P>
<P class=MsoNormal><o:p></o:p></P></DIV>
<DIV> </DIV>
<DIV>From: trnsys-users-request@lists.onebuilding.org<BR>Subject: TRNSYS-users
Digest, Vol 126, Issue 33<BR>To: trnsys-users@lists.onebuilding.org<BR>Date:
Tue, 23 Jun 2015 13:07:31 -0700<BR><BR><PRE>Send TRNSYS-users mailing list submissions to<BR> trnsys-users@lists.onebuilding.org<BR> <BR>To subscribe or unsubscribe via the World Wide Web, visit<BR> <A href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org" target=_blank>http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</A><BR> <BR>or, via email, send a message with subject or body 'help' to<BR> trnsys-users-request@lists.onebuilding.org<BR> <BR>You can reach the person managing the list at<BR> trnsys-users-owner@lists.onebuilding.org<BR> <BR>When replying, please edit your Subject line so it is more specific<BR>than "Re: Contents of TRNSYS-users digest..."<BR></PRE><BR><BR>--Forwarded
Message Attachment--<BR>From: d.bradley@tess-inc.com<BR>To:
trnsys-users@lists.onebuilding.org<BR>Date: Mon, 22 Jun 2015 15:10:31
-0500<BR>Subject: Re: [TRNSYS-users] Trnsys - Matlab connection<BR><BR>Ali
El-Nashar,<BR> If you are using the most recent TRNSYS release
(17.02.0004) then you will find Type155 DLLs for other versions of Matlab
located in:<BR><BR>..\Trnsys17\Exe\DLLs\*.zip<BR><BR>Extract the files from the
*.zip file corresponding to your version of Matlab and place them into the
..\trnsys17\Exe directory. You can either move or replace the existing
files.<BR><BR>If you do not have the most recent release, it would probably be
best to contact your distributor and obtain it.<BR><BR>Please be aware that the
link between TRNSYS and Matlab only works with the 32-bit version of Matlab and
that you need to make sure that you and the SYSTEM user both have full control
level access to the computer.<BR>kind regards,<BR>David<BR><BR><BR>
<DIV class=ecxmoz-cite-prefix>On 06/21/2015 04:34, Ali El-Nashar
wrote:<BR></DIV>
<BLOCKQUOTE cite=mid:COL131-DS7B250BD3CDB13B26B2D4BC1A20@phx.gbl>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV><FONT face="Times New Roman">Hello everybody,<BR><BR>I am trying to make
a connection between TRNSYS 17 and MATLAB (version R2014a). When
running the decks of the two “Calling Matlab” examples, I get this error
message : unable to start the MATLAB engine. The version of MATLAB that I’m
using apparently does not match Type155.dll installed in my computer.
I’m looking for a copy of an updated version of Type155.dll that I can
use. Could someone help me ?<BR><BR>Best regards</FONT><BR></DIV>
<DIV>Ali El-Nashar</DIV></DIV></DIV><BR>
<FIELDSET class=ecxmimeAttachmentHeader></FIELDSET> <BR><PRE>_______________________________________________
TRNSYS-users mailing list
<A class=ecxmoz-txt-link-abbreviated href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</A>
<A class=ecxmoz-txt-link-freetext href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org" target=_blank>http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</A>
</PRE></BLOCKQUOTE><BR><PRE class=ecxmoz-signature>--
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI 53703 USA
P:+1.608.274.2577
F:+1.608.278.1475
<A class=ecxmoz-txt-link-abbreviated href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</A>
<A class=ecxmoz-txt-link-freetext href="http://www.tess-inc.com" target=_blank>http://www.tess-inc.com</A>
<A class=ecxmoz-txt-link-freetext href="http://www.trnsys.com" target=_blank>http://www.trnsys.com</A></PRE></DIV></DIV></DIV>
<P>
<HR>
_______________________________________________<BR>TRNSYS-users mailing
list<BR>TRNSYS-users@lists.onebuilding.org<BR>http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org<BR></DIV></DIV></DIV></BODY></HTML>