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: John W. Eaton
Subject: OOP- calling a m file function using directory name
Date: Wed, 28 Apr 2010 22:47:37 -0400

On 27-Apr-2010, seung kim wrote:

| 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 ?

Octave does not support this new form of namespace control that was
recently introduced in Matlab.

jwe


reply via email to

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