[bug #45833] support load/save of classdef objects
foreverallama <[email protected]> Sat, 11 Jul 2026 04:24:01 -0400 (EDT)
| Newsgroups | gmane.comp.gnu.octave.bugs |
|---|---|
| Message-ID | <[email protected]> |
--===============5085395597690898441== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline UGxlYXNlIHVzZSB0aGUgYnVnIHRyYWNrZXIgdG8gcG9zdCB1cGRhdGVzIHRvIGEgYnVnIHJlcG9y dC4gIFRoZSBtYWlsaW5nIGxpc3QgaXMgaW50ZW5kZWQgYXMgYSByZWFkLW9ubHkgbm90aWZpY2F0 aW9uIHN0cmVhbS4gIEluZm8gcG9zdGVkIHRvIHRoaXMgbWFpbGluZyBsaXN0IGFkZHJlc3Mgd29u J3QgYXBwZWFyIGluIHRoZSB0cmFja2VyIGRhdGFiYXNlIHdoZXJlIGl0IGlzIG1vc3QgdXNlZnVs LgoK --===============5085395597690898441== Content-Type: MULTIPART/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; BOUNDARY="8323329-861021530-1783758241=:1219907" Content-Disposition: inline --8323329-861021530-1783758241=:1219907 Content-Type: TEXT/plain; CHARSET=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Content-Disposition: inline Follow-up Comment #105, bug #45833 (group octave):=0A=0AHey Evan, glad to s= ee you take it up. I'd started out, but haven't been able=0Ato spend time o= n it (won't be able to do so for another month or two). See bug=0A#68251. I= 'd put up an initial patch that takes care of format detection over=0Athere= .=0A=0AThe bulk of the MAT-file load/save logic is pretty straightforward a= nd can be=0Atranslated from the Python code. The main challenge is supporti= ng the latest=0AHDF5 API and compatibility with Octave's native HDF5 format= . Some of the key=0Amethods already exist in "ls-hdf5" and supporting libra= ries IIRC, so it would=0Abe easier to just extend them.=0A=0AMy thinking th= en was to create wrappers around some HDF5 methods to support=0Athe new API= with backwards compatibility, making it easy to maintain should=0Athe HDF5= API change significantly. But I haven't worked on it further so its a=0Acl= ean slate as of now.=0A=0A=0A __________________________________________= _____________=0A=0AReply to this item at:=0A=0A <https://savannah.gnu.org/= bugs/?45833>=0A=0A_______________________________________________=0AMessage= sent via Savannah=0Ahttps://savannah.gnu.org/=0A --8323329-861021530-1783758241=:1219907 Content-Type: APPLICATION/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCalH9oQAKCRCqLAuaBUf3 Tg8TAQDGEwR5JHI9AIm/aJg8rk9iCL2y5dAm7INYdZExCGytLAD/ZcZ3ZFGjm9o1 9g1GJriFMXqCTf9OoxN/QZhxOjMnEQI= =F9E3 -----END PGP SIGNATURE----- --8323329-861021530-1783758241=:1219907-- --===============5085395597690898441==--