[TRNSYS-users] Little Problem with Type155

Marco D'Urso durso.marco at gmail.com
Sun Mar 25 12:16:11 PDT 2012


Hi!
I've created this simple program in matlab and using it with type155 in
Calling Mode 0
---------------------------------
if trnTime==0
    t=1;
end

trnOutputs(1) = t;
t=t+1;

if t>24
    t=1;
end

mFileErrorCode = 0;
return
--------------------------------------
The program should count from 1 to 24, but instead of 1,2,3,4......he does
1,2,4,6 ........
How can i solve this problem using Calling Mode 0 in Type155?

Thanks for your answer!

Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20120325/fae58fab/attachment-0005.htm>


More information about the TRNSYS-users mailing list