Using Octave 3.2.0 on MacOSX 10.5, I'm writing a function in which I want to use the variable Ascan that comes from a mat file I loaded:
function G = test1(n); > s=Ascan(n,n+1); > G=s;
> endfunction; octave-3.2.0:10> test1(1) error: `Ascan' undefined near line 2 column 3 error: called from: error: test1 at line 2, column 2