help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

declare global as matrix...problem to use it


From: turbofib
Subject: declare global as matrix...problem to use it
Date: Mon, 2 Jul 2018 23:55:36 -0700 (MST)

hi,
i declare a global in the main program(it is a matrix )

global a;

a=[1 12 30;3 5 50;6 3 2]


i use it in a function but i get the following error

error: 'a' undefined near line 3 column 8
error: called from
    mainGlobal at line 3 column 7











--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]