[Scilab-users] Vectorfind with accuracy
Izabela Wójcik-Grząba
iwoj at il.pw.edu.pl
Wed Nov 14 15:07:06 CET 2018
Thanks Samuel, you are right. I use "clear" because while testing my
programmes I have to use different values of variables and sometimes
it's difficult to find an error in the code especially when some of
variables have old values. There are a lot of different variables in my
codes so it would be hard to list them. Is there any other way to do it?
Iza
W dniu 13.11.2018 23:12, Samuel Gougeon napisał(a):
> Le 13/11/2018 à 16:42, Izabela Wójcik-Grząba a écrit :
>> Thank you Stéphane and please ignore my last post - I didn't see the
>> attachement at first.
>> I wanted to put your function to the library and have it loaded at
>> startup of each session. I used the function:
>>
>> genlib ("Moja_biblioteka","C:/Program Files/mojabiblioteka_scilab")
>>
>> and created a scilab.ini file in SCIHOME in which I put a line:
>>
>> Moja_biblioteka = lib("C:/Program Files/mojabiblioteka_scilab")
>>
>> Now your function vectorfindtol works only for the first time after
>> starting Scilab and only in the console. When I want to use it in a
>> .sce file it doesn't work at all. I get the message: "Undefined
>> variable: vectorfindtol".
>>
>> Am I doing something wrong or did I miss something?
>
> Likely a "clear" instruction at the beginning of your script.
> This is a Matlabers habit. And just an atomic bomb for Scilab. It
> deletes all what is deletable around, including users functions, users
> libraries not autoloaded, etc.
>
> Samuel
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
More information about the users
mailing list