[TRNSYS-users] Type155 with different versions of Matlab

Simon Martinez simon.martinez at univ-lr.fr
Tue Feb 27 04:46:18 PST 2018


Bonjour Thibault,

Je me permets de vous répondre en français. J'ai réalisé sur mon poste 
le couplage TRNSYS17 avec Matlab2013a (32-bit) en utilisant le même 
forum que vous sur researchgate. Pour tenter de vous aider :
- Avez-vous désinstaller la version précédente de Matlab en 64 bit ?
- Avez-vous essayé de faire fonctionner l'exemple fournit par TRNSYS17 
(C:\Trnsys17\Examples\Calling_Matlab)
Une dernière chose, dans le proforma du Type155, vérifiez bien le chemin 
d'accès dans "External Files".

Bon courage,

Simon

Le 27/02/2018 à 13:21, Thibault Péan via TRNSYS-users a écrit :
>
> Dear TRNSYS users,
>
> I am trying to call Matlab from TRNSYS using the Type155.
>
> I am using TRNSYS 17.02.0004, and Matlab 2016a (64-bit), on Windows 7 
> 64-bit machine. It seems that with TRNSYS 17 it is not possible to 
> call a 64-bit version of Matlab, therefore I followed the following steps:
>
> 1.Install Matlab 2012b 32-bit (a version for which the configured 
> Type155 is available)
>
> 2.Extracted the Type155.dll for Matlab2012b, from the folder 
> “C:\Trnsys17\Exe\DLLs”, and copied the file in “C:\Trnsys17\Exe”
>
> 3.Added the folder “C:\Program Files (x86)\MATLAB\R2012b\bin\win32” to 
> Windows search path
>
> I got these insights from a conversation on this topic here: 
> https://www.researchgate.net/post/Problem_calling_matlab_with_TRNSYS_17
>
> However, I still can’t get it to work, and I get the error: /“Your 
> input file uses Type 155 (Calling Matlab). "Type155.dll" was found but 
> could not be loaded. Please make sure that a supported version of 
> Matlab is installed and that Matlab's "bin\win32" folder is on 
> Windows' search path”/
>
> Am I missing something? Anything to do with the .lib files? Or should 
> I try a different version of Matlab than the 2012b?
>
> I also saw that if I upgrade to TRNSYS 18, the compatibility with 
> 64-bit versions of Matlab is supported, so I might as well try that 
> (but I am a bit scared that my existing projects in TRNSYS 17 will 
> crash in TRNSYS 18…). The conversation was here:
>
> http://lists.onebuilding.org/htdig.cgi/trnsys-users-onebuilding.org/2017-May/029030.html
>
> Thanks, any help would be welcome.
>
> Best regards,
>
> *Thibault Péan*
>
> /PhD Candidate/
>
> INCITE – Innovative Controls For Renewable Source Integration Into 
> Smart Energy Systems
>
> IREC – Catalonia Institute for Energy Research
>
> UPC – Polytechnic University of Catalonia
>
> 	
>
> Descripción: C:\Users\tpean\Desktop\logo.png <http://www.incite-itn.eu/>
>
>
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org

-- 

Simon Martinez
Doctorant en micro-cogénération solaire
Laboratoire des Sciences de l'Ingénieur pour l'Environnement (LaSIE)
simon.martinez at univ-lr.fr
Tél : 06 17 15 76 64

Université de La Rochelle
23 avenue Albert Einstein
BP 33060 - 17031 La Rochelle

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20180227/b95176a0/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 6623 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20180227/b95176a0/attachment-0002.png>


More information about the TRNSYS-users mailing list