help-octave
[Top][All Lists]
Advanced

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

How to use existing variable


From: Neil Ghosh
Subject: How to use existing variable
Date: Fri, 5 Nov 2010 00:36:02 +0530

Hi,

I have a variable X=csvread('XXXX'); with huge data in it.

My function is written in a .m fileĀ  "MyPrg.m" and it uses the data in X and have reference to that variable.

Whenever I call MyPrg in command line it give me error 'X' is undefined , however I dont have "clear" in my function
It should recognize the global variable X.

I can not afford to read that huge file everytime in my function code.

Please help

--
Thanks and Regards
Neil
http://neilghosh.com




reply via email to

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