Le 03/12/2019 à 13:14, P M a écrit :

    > So why do they use "clear" at the beginning of every script?
    This is like a Matlab signature.


I am no matlabber, but like to start my scripts with:

clc()
clear("all")
delete("all")
// in older days also: stacksize("max")

At least so long, as I am working on a script.
Pressing F5 for restating the script just ensures, that I always start from new without the danger of keeping old variables/figure etc

You forgot the

xdel(winsid())

to get rid of all the opened windows...

;-)


Maybe this is some kind of lazyness...I would say: convenience :-)

cheers.




_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to