|
![](/i/fill.gif) |
You are wright !
I have replaced the contents of the time loop as follows :
%%%%%%%%%%%%%%%%%%%%%
#declare counter=0;
#declare AuxV1=0;
#declare AuxV2=0;
#declare AuxV3=0;
#if ( clock <= 1 )
#declare counter = 10*clock;
#declare Count=0;
#fopen MyFile "mydata.txt" read
#while (Count < counter)
#if ( defined(MyFile) )
#read (MyFile,Var1,Var2,Var3)
#declare AuxV1=Var1;
#declare AuxV2=Var2;
#declare AuxV3=Var3;
#end
#declare Count=Count+1;
#end
#fclose MyFile
test1(AuxV1,AuxV2,AuxV3)
#end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
an it works as I spected.
Thank you for your advice. This way I can represent my simulations properly.
Post a reply to this message
|
![](/i/fill.gif) |