[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: function reload
From: |
Matyas Sustik |
Subject: |
Re: function reload |
Date: |
Fri, 18 Nov 2011 17:19:34 -0600 |
On Fri, Nov 18, 2011 at 4:44 PM, Martin Helm <address@hidden> wrote:
> Am 18.11.2011 23:37, schrieb Matyas Sustik:
>> (shell> refers to commands outside the octave session)
>> octave3.2:3> foo()
>> shell> make foo.mex
>> octave3.2:3> foo()
>> panic: Segmentation fault -- stopping myself...
>>
> Does a "clear foo" help before you run the make?
Did you mean clean foo?
clear foo or rm foo.mex did not help immediately.
However the following avoids the segfault:
octave3.2:3> foo()
shell>rm foo.mex
octave3.2:3> foo()
error: `foo' undefined ...
shell> make foo.mex
>> octave3.2:3> foo()
[runs to completion]
However this dose not work:
octave3.2:3> foo()
shell> rm foo.mex
shell> make foo.mex
octave3.2:3> foo()
[segfault]
This is an improvement, but still inconvenient.
Thanks for responding.
-Matyas