<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p style='background:white'><span style='font-family:"Arial","sans-serif";color:#002060'>Dear all TRNSYS users and Happy Spring;</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Arial","sans-serif";color:#002060'>If I use Matlab code alone, I can load my whole data e.g T_ambient (every second) as my input data (6000) using "Load" command; and since I use some partial difference equations, I interpolate these 6000 data base on very small time step (dt=0.01 second). Thereafter, Matlab processes these 600,000 data in “for loop” and produces the outputs at the end of “for loop”.</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p><p style='margin-left:1.0in;background:white'><span style='font-family:"Arial","sans-serif";color:#002060'>My problems is that: If I link Matlab and TRNSYS together: </span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p><p style='margin-left:1.0in;background:white'><span style='font-family:"Arial","sans-serif";color:#002060'>base on my initial understanding from Trnsys’s example, Trnsys call Only “one data” in each time step and process that only input to produce only one output. I want Trnsys to call all my data (6000) (like load command in Matlab) and pass these 6000 data to Matlab, and get 6000 output data from Matlab after mathematical process. Exactly like the command "Load" in Matlab to call my all inputs.</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p><p style='margin-left:1.0in;background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222'><o:p> </o:p></span></p><p style='background:white'><span style='font-family:"Arial","sans-serif";color:#002060'>I am looking your favorable email very soon :)</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Arial","sans-serif";color:#002060'>Sincerely Yours</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Arial","sans-serif";color:#002060'>Reza Safi ;</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Arial","sans-serif";color:#222222'><o:p> </o:p></span></p><p style='background:white'><b><span lang=EN-GB style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#3333FF'>PhD Condidate<span class=apple-converted-space> </span></span></b><span lang=EN-GB style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#3333FF'>:: NGS - NUS Graduate School for Integrative Sciences and Engineering :: National University of Singapore,</span><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#3333FF'> </span><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#993399'><a href="mailto:m.safizadeh@nus.edu.sg" target="_blank"><span style='color:#993399'>m.safizadeh@nus.edu.sg</span></a> </span><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#3333FF'>(E) :: </span><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#222222'><a href="https://sites.google.com/site/safizadehedu/" target="_blank"><span style='color:#993399'>https://sites.google.com/site/safizadehedu/</span></a></span><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#3333FF'> (w)</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p><p style='background:white'><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#F79646'>Important: This email is confidential and may be privileged. If you are not the intended recipient, please delete it and notify us immediately; you should not copy or use it for any purpose, nor disclose its contents to any other person. Thank you.</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p><p style='background:white'><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#222222'> </span><b><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:green'>P</span></b><b><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:navy'> </span></b><b><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:green'>Let's Go Green... Please think before you print!</span></b><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>