[scilab-Users] two questions : batch mode parameters and creating a menu to execute again a script or exit
Sylvestre Ledru
sylvestre.ledru at scilab.org
Fri Jul 1 14:26:55 CEST 2011
Le vendredi 01 juillet 2011 à 14:21 +0200, Loïc GIROD a écrit :
> Hello all !
>
>
>
> I wrote a script that can read binary files to draw curves from it.
>
> I’ve copied the script in /bin directory of scilab on a windows
> computer and I have created a shortcut on the desktop with the
> following parameters found on Internet : "C:\Program Files
> \scilab-5.3.2\bin\Scilex.exe" -nw –f programme.sce. It alloy the user
> to run the script without loading the scilab graphic interface.
>
>
>
> Regarding this, I have two questions :
>
> 1) Do you know where I can find the signification of the
> parameters used –nw –f and if others exist ?
See:
http://help.scilab.org/docs/5.3.2/en_US/scilab.html
> 2) Using this method, the script only executes once. Indeed, at
> the end of the script, the user must kill the process to stop it, come
> back to the desktop and run again the script thanks to the shortcut.
> Is there a way to add a menu which ask the user if he would like to
> quit the script or to execute it again ?
You can manage that with some Scilab codes...
Sylvestre
More information about the users
mailing list