help-octave
[Top][All Lists]
Advanced

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

Re: Octave class search path problem


From: Carnë Draug
Subject: Re: Octave class search path problem
Date: Wed, 26 Oct 2011 19:39:00 +0100

2011/10/26 John Evans <address@hidden>
> Unfortunately, the actual code contains sensitive IP, however, I can post my 
> contrived example. You can find the contents of /fooBar/@foo/foo.m as well as 
> a small example of my problem at
> http://pastebin.com/ZD4TjMEg

The problem is in your IP then. It should work if you change your
object constructor to something like:

function x = foo()
        x = struct;
        x = class(x, "foo");
endfunction

Carnë


reply via email to

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