You can use ca as global variable by adding line "global ca" both to
main script and the function (then it's value will be set every time
the function is called, and it would bea vailable to ther functions -
you need to add "global ca" also there)
Ivan Sutoris
_______________________________________________
Help-octave mailing list
address@hidden
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
----- End forwarded message -----
Or you can include the value of this variable to the array of results that
it returns: instead of y=f(x), use [x,y]=f(x).
Cheers, Avraham