help-octave
[Top][All Lists]
Advanced

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

Rehash object methods


From: Klaus-Dieter Bauer
Subject: Rehash object methods
Date: Thu, 28 May 2015 14:59:03 +0200

Hello!

I am currently experimenting with octave's object orientation from within the new GUI. So I have created a folder structure

    ./@cons/cons.m
    ./@cons/car.m

imitating lisp's cons cells. As expected, 

    car(cons(1,2))

returns 1. However when I added 

    ./@cons/cdr.m 

I found that I need to restart the interactive session for the new method to be recognized. The "rehash" command doesn't help here.

I ended up having to restart the entire GUI, including the editor, since I know of no method to restart the interactive session.

Is there some method to get new methods to be recognized without restarting the GUI?

regards, Klaus

reply via email to

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