Re: [Scilab-users] File exist function?

2018-01-25 Thread Claus Futtrup
Hi Samuel Excellent :-) Cheers, Claus On Jan 25, 2018 21:16, "Samuel Gougeon" wrote: > Hello Claus, > > Le 25/01/2018 à 17:43, Claus Futtrup a écrit : > > .../... > > Is such a function already available? Which way is the "official" way to > do this in Scilab? > > Maybe I'm

Re: [Scilab-users] File exist function?

2018-01-25 Thread Samuel Gougeon
Hello Claus, Le 25/01/2018 à 17:43, Claus Futtrup a écrit : .../... Is such a function already available? Which way is the "official" way to do this in Scilab? Maybe I'm searching for the wrong word, but I found some ways in Scilab. The "fileinfo" seems to be the closest one to what I wish

Re: [Scilab-users] File exist function?

2018-01-25 Thread Claus Futtrup
Hi Antoine isfile() looks like exactly what I wish for. I suppose then, this is the correct ("most official") way to do it in Scilab. Thanks! Best regards, Claus On Thu, Jan 25, 2018 at 7:40 PM, Antoine ELIAS < antoine.el...@scilab-enterprises.com> wrote: > Hello Claus, > > You can use

Re: [Scilab-users] File exist function?

2018-01-25 Thread Antoine ELIAS
Hello Claus, You can use "isfile" function to check existence if a file and "isdir" for folder. https://help.scilab.org/docs/6.0.0/en_US/isfile.html https://help.scilab.org/docs/6.0.0/en_US/isdir.html Regards, Antoine Le 25/01/2018 à 17:43, Claus Futtrup a écrit : Dear Scilabers I wish to

Re: [Scilab-users] GUI programming

2018-01-25 Thread Claus Futtrup
Hi Nikolay and Tan Thank you for your help. Tan, I tried to load guibuilder. My first thought was to pull the white area to the grid ... and it crashed, but then again, Scilab 6 seems to crash a lot on me. Good tip to view some YouTube videos. I'll try that, to see if I can get some overview of

[Scilab-users] File exist function?

2018-01-25 Thread Claus Futtrup
Dear Scilabers I wish to check for the existence of some files. For this I created a simple function: [out]=function file_exist(fname) [fd, err] = mopen(fname); // Try to open file, mode: 'br' (binary-reading) if err==0 then out=%t; mclose(fname); else out=%f