[scilab-Users] path

Samuel Gougeon sgougeon at free.fr
Wed Oct 12 20:30:37 CEST 2011


Hello Ricardo,

Le 12/10/2011 20:09, Ricardo Fabbri a écrit :
> Hello, all,
>
> I have some simple questions, I knew their answer, but I wonder if
> things in recent scilab versions:
>
> - Is there anything like a search PATH setting? For instance, I would
> like to execute myscript.sce, but without specifying its full path. I
> would also like to load a function automatically if it is in the path,
> more or less matlab style.
>    
As far as i know, it is presently not possible. Surprisingly, no wish 
has yet been posted about such a feature!
Yours is welcome! :-) 
http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software

> - Aliases: is there a way to define an alias to a function? for example,
>      alias ("doc", help)
>    
doc = help
doc isnan // opens the doc for isnan()
// This works for primitive (like help) as well as for macros (as isnan: 
Try)
isNAN = isnan
isNAN(%pi)
isNAN(%nan)

HTH
Samuel



More information about the users mailing list