.. ok… thanks.

 

Seems it took some time (for a newbee), try it this evening.

 

Thanks a lot.

 

Gerhard

 

Von: Samuel GOUGEON [via Scilab / Xcos - Mailing Lists Archives] 
[mailto:ml-node+s994242n4034590...@n3.nabble.com] 
Gesendet: Donnerstag, 22. September 2016 08:27
An: Gerhard Kreuzer
Betreff: Re: Functions lib

 

Hello, 

Le 22/09/2016 08:08, Gerhard Kreuzer a écrit : 
> Hi, 
> 
> I now have some functions and want to use it from different scripts. Copying 
> this functions into each script isn't that nice. Any way to have some 
> 'function library' which I can put all this common things? 
. 
You may 
* put all of them (.sci files) in a directory, 
* cd to this directory 
* do 
    genlib mytoolslib   // where mytoolslib is the name you want to give 
to the library 
    edit SCIHOME/scilab.ini 
    // in your startup file scilab.ini, add the line, to load the 
library at startup of each new scilab session 
    mytoolslib = lib(path_to_the_lib_directory); 

Then for each new Scilab session, the functions of your library with be 
available from anywhere in the session. 

HTH 
Samuel Gougeon 

_______________________________________________ 
users mailing list 
[hidden email] 
http://lists.scilab.org/mailman/listinfo/users



  _____  

If you reply to this email, your message will be added to the discussion below:

http://mailinglists.scilab.org/Functions-lib-tp4034588p4034590.html 

To unsubscribe from Functions lib, click here 
<http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4034588&code=Z2VyaGFyZC5rcmV1emVyQGxpZnRvZmYuYXR8NDAzNDU4OHwtMTk4MzI4ODE5Mg==>
 .
 
<http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
 NAML 





--
View this message in context: 
http://mailinglists.scilab.org/Functions-lib-tp4034588p4034591.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to