[Top][All Lists]

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

[Octave-bug-tracker] [bug #36686] Saving and loading function handles th

From: Rik
Subject: [Octave-bug-tracker] [bug #36686] Saving and loading function handles that point to subfunctions is not working correctly
Date: Mon, 21 Nov 2016 05:38:40 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #6, bug #36686 (project octave):

I think the problem is still present.  Unlike Harmut, I did not create a file
gas_phase_ODE.m, which creates a primary function of that name.  When I load
the structure back in and query it I get

model =

  scalar structure containing the fields:

    odefun = @gas_phase_ODE

Octave knows that it is a function handle to gas_phase_ODE, but it doesn't
know where to fnd that function since there is no m-file of that name.  It
seems that in this case it really should store something like

odefun = @create_func>gas_phase_ODE

That is the syntax that dbstop uses for subfunctions.

dbstop create_func>gas_phase_ODE
ans =  10


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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