<br />Dear Emilia,<br /><br />Your local TRNSYS distributor should be able to help you with a version specific Type155.dll. Unfortunately, I am not familiar with Silverfrost. <br /><br />Best regards,<br /><br />Matt Duffy<br /><br /><!--replyfwdwrap--><div style="background-image: url(http://webmail.fusemail.com/de/r_bg_img.gif); background-repeat: repeat-x; background-position: 50% top"><strong>----- Original Message -----</strong><br /><strong>From:</strong> "Emilia Visek" <emilia.visek@mail.polimi.it> <br /><strong>Sent:</strong> Thu, September 8, 2011 4:59<br /><strong>Subject:</strong> [TRNSYS-users] TRNSYS/MAtlab help<br /><br /><table cellspacing="5" width="100%"><tbody><tr><td><div class="PrivateMsgDiv"><!-- begin sanitized html -->Dear All, <div>I need to connect TRNSYS with Matlab. I have TRNSYS 16_1 and Matlab R2008b on Windows 7.</div><div><span style="background-color: rgb(255,255,255); font-family: monospace; white-space: pre; font-size: m!
 edium" class="Apple-style-span">How do I compile Type155.f90?</span></div><div>Here is what I did so far:</div><div>1) I copied to <span style="background-color: rgb(255,255,255); font-family: monospace; white-space: pre; font-size: medium" class="Apple-style-span">\Trnsys16_1\SourceCode\Optional from Matlab folders </span><span style="background-color: rgb(255,255,255); font-family: monospace; white-space: pre; font-size: medium" class="Apple-style-span">libeng.lib, libmat.lib, libmex.lib and libmx.lib.</span></div><div><span style="background-color: rgb(255,255,255); font-family: monospace; white-space: pre; font-size: medium" class="Apple-style-span">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.</span></div><div><span style="background-color: rgb(255,255,255); font-family: monospace; white-space: pre; font-size!
 : medium" class="Apple-style-span">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</span></div><div><span style="background-color: rgb(255,255,255); font-family: monospace; white-space: pre; font-size: medium" class="Apple-style-span">4)On code line 63 I delete the constant(8) and it works. </span></div><div><font class="Apple-style-span" size="3" face="monospace"><span style="white-space: pre" class="Apple-style-span">5)I copy this file </span></font><span style="background-color: rgb(255,255,255); font-family: monospace; white-space: pre; font-size: medium" class="Apple-style-span">TrnsysConstants.F90 to the same location as Type155.ft90, but still gives me the same error when I compile Type155.ft90</span></div><div><font class="Apple-style-span" size="3" face="monospace"><span style="white-space: pre" class="Apple-style-span">6)I checked already the windo!
 ws path of bin\win32, and is OK<br /></span></font></div><div><div><font class="Apple-style-span" size="3" face="monospace"><span style="white-space: pre" class="Apple-style-span"><br /></span></font></div><div><font class="Apple-style-span" size="3" face="monospace"><span style="white-space: pre" class="Apple-style-span">Please let me know how do I make this connection work?</span></font></div><div><font class="Apple-style-span" size="3" face="monospace"><span style="white-space: pre" class="Apple-style-span"><br /></span></font></div><div><font class="Apple-style-span" size="3" face="monospace"><span style="white-space: pre" class="Apple-style-span">Thanks,</span></font></div><div><font class="Apple-style-span" size="3" face="monospace"><span style="white-space: pre" class="Apple-style-span">Emilia Visek<br /></span></font><br /> </div></div><!-- end sanitized html --><hr noshade="" size="1" /><pre>
_______________________________________________
TRNSYS-users mailing list
<a href="javascript:bodyCreateMail('TRNSYS-users%40cae.wisc.edu')">TRNSYS-users@cae.wisc.edu</a>
<a target="_blank" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre></div></td></tr></tbody></table></div>