<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
I don't know genlib but I think than exec should suffice to load a
scilab function.<br>
<br>
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.<br>
<br>
Mathieu<br>
<br>
On 12/06/2010 11:46 AM, Vishwanath Rao wrote:
<blockquote cite="mid:758919.76722.qm@web33806.mail.mud.yahoo.com"
 type="cite">
  <style type="text/css"><!-- DIV {margin:0px;} --></style>
  <div
 style="font-family: 'times new roman','new york',times,serif; font-size: 12pt; color: rgb(255, 0, 0);">
  <div>Hi,</div>
  <div>  I'm using Scilab 5.2.2 on Ubuntu Lucid.</div>
  <div><br>
  </div>
  <div>   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 </div>
  <div><br>
  </div>
  <div>genlib('comm','~/Downloads/scilab-5.2.2/comm')</div>
  <div><br>
  </div>
  <div>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.</div>
  <div><br>
  </div>
  <div>Vishwanath.<br>
 </div>
  <br>
  <div><br>
  </div>
  </div>
  <br>
</blockquote>
<br>
</body>
</html>