help-octave
[Top][All Lists]
Advanced

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

OOP- calling a m file function using directory name


From: seung kim
Subject: OOP- calling a m file function using directory name
Date: Tue, 27 Apr 2010 07:47:17 -0700

My Matlab code in Octave gives an error when a m-file function A is referenced using a directory name "item" as

MY_ITEM = items.A(param);


where "items" is defined as a directory named as "+items" under the current directory. The m-file A.m is under the +items directory.

The error message is:

'items' undefined (near line xxx... in the calling function)

How do I make it run under Octave ?

Thanks.
Seung

reply via email to

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