[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] TRNSYS/MAtlab help




Dear Emilia,

Your local TRNSYS distributor should be able to help you with a version specific Type155.dll. Unfortunately, I am not familiar with Silverfrost.

Best regards,

Matt Duffy

----- Original Message -----
From: "Emilia Visek" <emilia.visek@mail.polimi.it>
Sent: Thu, September 8, 2011 4:59
Subject: [TRNSYS-users] TRNSYS/MAtlab help

Dear All,
I need to connect TRNSYS with Matlab. I have TRNSYS 16_1 and Matlab R2008b on Windows 7.
How do I compile Type155.f90?
Here is what I did so far:
1) I copied to \Trnsys16_1\SourceCode\Optional from Matlab folders libeng.lib, libmat.lib, libmex.lib and libmx.lib.
2)I have Silverfrost personal edition. When I compile it gives and error: C:\Program Files\Trnsys16_1\SourceCode\Optional\type155.F90(169) : error 404 - Cannot find definition for MODULE TRNSYSCONSTANTS.
3)I go inside of C:\Program Files\T rnsys16_1\SourceCode\Kernel\TrnsysConstants.F90 and compile it. It shows me another error: C:\Program Files\Trnsys16_1\SourceCode\Kernel\TrnsysConstants.F90(63) : error 62 - Invalid KIND specifier
4)On code line 63 I delete the constant(8) and it works. 
5)I copy this file TrnsysConstants.F90 to the same location as Type155.ft90, but still gives me the same error when I compile Type155.ft90
6)I checked already the windo! ws path of bin\win32, and is OK

Please let me know how do I make this connection work?

Thanks,
Emilia Visek

 

_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://mailman.cae.wisc.edu/listinfo/trnsys-users