[TRNSYS-users] TRNSYS-users Digest, Vol 126, Issue 33
Hsein Moussawi
hsein_moussawi at hotmail.com
Tue Jun 23 13:34:52 PDT 2015
Hi Ali,
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:
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).Add MATLAB\bin\win32 folder directory to Windows search path.Select a specific (Type 155.DLL) for your MATLAB version
from (TRNSYS17\Exe\DLLs) folder.Copy (Type 155.DLL) file to (TRNSYS17\Exe) folder.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).Copy (Type 155.DLL) file to (TRNSYS17\UserLib\ReleaseDLLs)
folder.Run MATLAB as an administrator.Finally, write (regmatlabserver) command in MATLAB’s
Command Window to register the desired MATLAB session as an automation server.
Hope you find these information useful,Houssein.
From: trnsys-users-request at lists.onebuilding.org
Subject: TRNSYS-users Digest, Vol 126, Issue 33
To: trnsys-users at lists.onebuilding.org
Date: Tue, 23 Jun 2015 13:07:31 -0700
Send TRNSYS-users mailing list submissions to
trnsys-users at lists.onebuilding.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
or, via email, send a message with subject or body 'help' to
trnsys-users-request at lists.onebuilding.org
You can reach the person managing the list at
trnsys-users-owner at lists.onebuilding.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of TRNSYS-users digest..."
--Forwarded Message Attachment--
From: d.bradley at tess-inc.com
To: trnsys-users at lists.onebuilding.org
Date: Mon, 22 Jun 2015 15:10:31 -0500
Subject: Re: [TRNSYS-users] Trnsys - Matlab connection
Ali El-Nashar,
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:
..\Trnsys17\Exe\DLLs\*.zip
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.
If you do not have the most recent release, it would probably be
best to contact your distributor and obtain it.
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.
kind regards,
David
On 06/21/2015 04:34, Ali El-Nashar
wrote:
Hello everybody,
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 ?
Best regards
Ali El-Nashar
_______________________________________________
TRNSYS-users mailing list
TRNSYS-users at lists.onebuilding.org
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
--
***************************
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
d.bradley at tess-inc.com
http://www.tess-inc.com
http://www.trnsys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20150623/c141e4bc/attachment.htm>
More information about the TRNSYS-users
mailing list