|
From: | Nicholas Jankowski |
Subject: | [Octave-bug-tracker] [bug #50622] missing function struct2array (mainly structtocell wrapper) |
Date: | Thu, 23 Mar 2017 19:08:13 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 |
URL: <http://savannah.gnu.org/bugs/?50622> Summary: missing function struct2array (mainly structtocell wrapper) Project: GNU Octave Submitted by: nrjank Submitted on: Thu 23 Mar 2017 11:08:12 PM UTC Category: Octave Function Severity: 3 - Normal Priority: 5 - Normal Item Group: Matlab Compatibility Status: None Assigned to: None Originator Name: Nicholas Jankowski Originator Email: Open/Closed: Open Discussion Lock: Any Release: 4.2.1 Operating System: Any _______________________________________________________ Details: Saw on Stackexchange today that matlab has long had a poorly documented (but not completely undocumented. it shows up in help.) function struct2array that is the equivalent of flattening the output of struct2cell. I wrote a quick function to implement this and it seems compatible with the matlab 2016b version including some input/output error testing. M file is attached here. will attach a patch after this generates a bug number. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Thu 23 Mar 2017 11:08:12 PM UTC Name: struct2array.m Size: 2kB By: nrjank <http://savannah.gnu.org/bugs/download.php?file_id=40106> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?50622> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |