[bug #68237] "load" emits long series of "classdef not found" warnings when loading struct array

Philip Nienhuis <[email protected]> Wed, 15 Apr 2026 10:38:58 -0400 (EDT)
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only notification stream.  Info posted to this mailing list address won't appear in the tracker database where it is most useful.

Follow-up Comment #5, bug #68237 (group octave):

@foreverallama, thank you for the explanation.

Yes it's clear that the underlying issue is missing classdef definitions, and
as I wrote there's nothing wrong with issuing a warning for it.  But blindly
repeating the warning message for -in this specific case- hundreds, but in
other cases potentially thousands or more array elements, is what made me
enter this bug report.

TTBOMK adding at least a warning ID should be an easy fix; I suppose there are
examples galore in the Octave sources.  Pimping the warning mechanism to limit
the nr. of messages for the same issue can wait AFAIC.  But:
Another related annoyance is that loading such files cannot be interrupted
with Ctrl-C, forcing one to sit and wait until all the warnings have been
emitted.

In the mean time I'll upload the zipped file.  TBH, I never realized that is
it a "type 5" MAT file, which in hindsight also explains why the Matlab-based
program I mentioned always took ages to save files with lots of data (and
produced surprisingly huge data files).
(Oh and I see that Savannah's upload file size limit is 4 Mb these days, IIRC
it used to be much smaller.)


(file #58474)

    _______________________________________________________

Additional Item Attachment:

Name: dgvH2_Menv3.zip                Size: 175KiB
    <https://file.savannah.gnu.org/file/dgvH2_Menv3.zip?file_id=58474>


    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-f290f6b25beb8cb99bbe243a6cd2c5fef79ffcde.tar.gz


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCad+jAgAKCRCqLAuaBUf3
Ts01APwK9HnS0CvxW2Q3qMnZrhyAMGpQrmibJaIAIP37L3/p3gD/avuvOpXSe2Xx
4U+F991xBOIaXOWomo6VwycMZJY6xwU=
=9w6F
-----END PGP SIGNATURE-----