[Scilab-users] file missing with csvRead : scilab 5.4.0

Adrien Vogt-Schilb vogt at centre-cired.fr
Tue Dec 4 17:33:28 CET 2012


On 04/12/2012 17:25, Paul Carrico wrote:
>
> Dear all,
>
> Is there an equivalent to "err" when using csvRead ? I'm looking to a 
> way to test if the file exists (or not) previous to read it with csvRead
>
> Thanks
>
> Paul
>
> From "mopen" help file :
>
> [fd, err] = mopen(file [, mode, swap ])
>
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
Hi

Is isfile a solution for you?

isfile("notafile.csv")

KR
AVS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20121204/cab48472/attachment.htm>


More information about the users mailing list