|
From: | turbofib |
Subject: | Re: declare global as matrix...problem to use it |
Date: | Tue, 3 Jul 2018 07:44:45 -0700 (MST) |
hi doug, i try it : Main.m: global a; a=[1 12 30;3 5 50;6 3 2] ******************* function ret = eserciziGlobal_Funzioni(x) global a; ret=a; endfunction ***************** Here..i call function: >> eserciziGlobal_Funzioni(3) i receive the error: error: 'a' undefined near line 6 column 8 error: called from eserciziGlobal_Funzioni at line 6 column 7 -- Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
[Prev in Thread] | Current Thread | [Next in Thread] |