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

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

[Octave-bug-tracker] [bug #63199] [feature request] add a function to in


From: Yu Hongbo
Subject: [Octave-bug-tracker] [bug #63199] [feature request] add a function to inverse eval() function
Date: Tue, 11 Oct 2022 21:10:48 -0400 (EDT)

Follow-up Comment #13, bug #63199 (project octave):

Oh I got a typo. The save and load logic can handle function_handle as well,
so I can accept this workaround.

>> a = {{struct}, {@struct}};
>> save ('tmp', '-text', 'a');
>> b =  struct2cell(load('tmp','-text')){1}
b =
{
  [1,1] =
  {
    [1,1] =

      scalar structure containing the fields:


  }

  [1,2] =
  {
    [1,1] = @struct
  }

}


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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