[scilab-Users] Automatic function loading
Mathieu Dubois
mathieu.dubois at limsi.fr
Mon Dec 6 11:55:17 CET 2010
Hello,
I don't know genlib but I think than exec should suffice to load a
scilab function.
To load them on startup have a look at: help("startup"). Basically you
should create a file called .scilab and put the exec command in it.
Mathieu
On 12/06/2010 11:46 AM, Vishwanath Rao wrote:
> Hi,
> I'm using Scilab 5.2.2 on Ubuntu Lucid.
>
> I have defined the functions qfunc.sci and randsrc.sci in the
> directory ~/Downloads/scilab-5.2.2/comm and load them through the command
>
> genlib('comm','~/Downloads/scilab-5.2.2/comm')
>
> in my scilab script test.sce. While this works, I want the functions
> from my 'comm' directory to be available permanently without having to
> use genlib each time. Is there a simple way to do this? The toolbox
> creation method seems too complicated to me right now.
>
> Vishwanath.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20101206/cfadefbe/attachment.htm>
More information about the users
mailing list