octave-maintainers
[Top][All Lists]
Advanced

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

saving function handles


From: Muhali
Subject: saving function handles
Date: Wed, 14 Nov 2012 09:55:11 -0800 (PST)

Suppose f = @foo. When saving f the full function path of foo is saved:

# name: f
# type: function handle
# octaveroot: /usr/local
# path: /path/to/fun/foo.m

Loading this file - possibly on a different system - requires an identical
function path to exist, as otherwise one gets the error 

error: no such file, '/path/to/fun/foo.m'
error: function handle points to non-existent function

But if during the saving of f `foo´ is known from a relative path, e.g. path
= ... fun ... (instead of path = ... /path/to/fun ...), isn't it more
logical if only the relative path is saved?




--
View this message in context: 
http://octave.1599824.n4.nabble.com/saving-function-handles-tp4646675.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.


reply via email to

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