[TRNSYS-users] TRNSYS/MAtlab help
Emilia Visek
emilia.visek at mail.polimi.it
Thu Sep 8 02:59:52 PDT 2011
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\Trnsys16_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 windows path of bin\win32, and is OK
Please let me know how do I make this connection work?
Thanks,
Emilia Visek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20110908/4913d44a/attachment-0005.htm>
More information about the TRNSYS-users
mailing list