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:06:41 -0400 (EDT)

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

This save and load logic can handle all-data variants. But how about
mixed-data-and-function-handle variants? In this scenario the save and load
logic cannot get the consistent result, here is my code:

>> a = {{struct}, {@struct}};
>> # b is the same to {{struct}, {struct}}, so the result has been changed
>> b =  struct2cell(load('tmp','-text')){1}
b =
{
  [1,1] =
  {
    [1,1] =

      scalar structure containing the fields:


  }

  [1,2] =
  {
    [1,1] =

      scalar structure containing the fields:


  }

}

Do you have another workaround in this scenario?



    _______________________________________________________

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]