octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #59316] Cannot load anonymous function handle


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #59316] Cannot load anonymous function handle with empty local vars
Date: Wed, 21 Oct 2020 17:22:50 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.80 Safari/537.36 Edg/86.0.622.48

Follow-up Comment #3, bug #59316 (project octave):

It looks like Octave only supports loading function handles from -v7 .mat file
but cannot save them.

I was about to ask for a minimal example as well. But setting a break point at
ov-base.cc:886 and moving back from there made it clear that the value was
empty where the code expected a scalar map.

I saved your example function handle in Matlab in -v7 format. The resulting
file opens without error in Octave (without the patch here) and the handle
works as expected.
I'm not sure how to create a function handle that triggers the error that
occurs when loading the figures from comment #0.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59316>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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