[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[TRNSYS-users] Little Problem with Type155
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