[Scilab-users] sometime fail to save a file

Samuel Gougeon sgougeon at free.fr
Thu Sep 17 22:46:45 CEST 2015


Le 17/09/2015 16:23, Antoine Monmayrant a écrit :
> As suggested by Jasper, you should not access the same file that fast 
> without a bit of caution.
.
Are you wondering about save() returning without waiting for the file 
being closed...?

> Can you try the following script:
>
> for i=1 :100
>    y=i^3
>    save('test_'+string(i)+'.dat','y');//new name for each file to 
> avoid accessing the same file over and over
.
or with sleep(100); for instance?

Samuel





More information about the users mailing list