$LastChangedDate$
runscicode
Launch a scilabfunction with specific path loaded.
Calling Sequence
runscicode(UserScilabMainFile, UserSciFilesPaths);
Parameters
UserScilabMainFile
This file should contain the main scilab function to run.
The function should have the same name as the file.
UserSciFilesPaths
This is a matrix of PATH containing .sci files.
Description
Run a Scilab function with specific PATH loaded.
This function will load all .sci files given in UserSciFilesPaths.
Then it loads UserScilabMainFile and the function corresponding to the file name is launched.
Examples
runscicode("./mysScript.sci", []);
// Will load myScript.sci then run myScript()
runscicode("./myScript.sci", "/tmp/myScriptDependencies");
// Will load each .sci file in /tmp/myScriptDependencies
// Then load myScript.sci and run myScript()
Authors
Bruno JOFRET
Raffaele NUTRICATO