1 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 // Copyright (C) 2008 - INRIA - Jean-Baptiste Silvy
4 // This file must be used under the terms of the CeCILL.
5 // This source file is licensed as described in the file COPYING, which
6 // you should have received as part of this distribution. The terms
7 // are also available at
8 // http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
10 function xinit(fileName)
11 // set name of the file to export
13 global %exportFileName;
16 // incorrect number of arguments
22 if (type(fileName) <> 10) then
23 // wrong type for driverName
28 %exportFileName = fileName;