[scilab-Users] link .sce file with batch mode
Allan CORNET
allan.cornet at scilab.org
Thu Jun 17 16:59:19 CEST 2010
Hi,
See: help get_absolute_file_path
And also :
help sciargs
Best regards
Allan
-----Message d'origine-----
De : paul.carrico at free.fr [mailto:paul.carrico at free.fr]
Envoyé : jeudi 17 juin 2010 16:46
À : users at lists.scilab.org
Objet : [scilab-Users] link .sce file with batch mode
Hi All,
I created a batch file (under windows) that launch my .sce file ...
In this .sce file I would like to specify the working directory in "batch language" i.e. like "%D%" instead of "C:\...." :
.....
// chemin d'accès
CHEMIN = "%D%";
// ouverture du fichier resultat
RESU= mopen(CHEMIN + "/resu.dat", 'w');
.....
Of course %D% doesn't work .... How can I proceed ?
Is there any tutorial that explains how to include system instructions into Scilab files ?
regards
PC
More information about the users
mailing list