• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tbeu / matio / #1267
83%

Build:
DEFAULT BRANCH: master
Ran 15 Nov 2026 11:03AM UTC
Jobs 1
Files 1504
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Nov 2026 10:56AM UTC coverage: 82.712% (-0.01%) from 82.726%
#1267

push

travis-ci

web-flow
MAT7.3: handle unassigned cell elements and struct fields like MATLAB

* Read unassigned v7.3 cell elements and struct fields as empty

MATLAB writes elements that were never assigned with MATLAB_class
"canonical empty". Since MCOS support, such datasets were read as
MCOS opaque objects. Keep them as MAT_C_EMPTY, as in v7 files.

Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>

* Write the size of an unassigned element as [0 0] in MAT7.3

Unassigned cell elements and struct fields arrive from MAT5 as MAT_C_EMPTY
with rank 0. Mat_WriteEmptyVariable73 then wrote a dimension dataset
without any elements, while MATLAB stores [0 0] there, and libmatio itself
already writes [0 0] for NULL elements.

MATLAB reads both forms as [], but a reader that takes the dimensions as
the shape of the array gets a 0-d array with uninitialized content. The
function now falls back to [0 0] when it has no dimensions.

Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>

* Print MAT_C_EMPTY as Empty in Mat_VarPrint

matio.h documents MAT_C_EMPTY as an empty array, but Mat_VarPrint showed it
as "Undefined". The unassigned cell elements and struct fields from the
previous commits are the first test outputs that print this class.

Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>

* As reported by https://github.com/tbeu/matio/pull/411

6 of 6 new or added lines in 2 files covered. (100.0%)

3 existing lines in 2 files now uncovered.

14028 of 16960 relevant lines covered (82.71%)

60753.64 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
82.14
-0.13% src/mat.c
1
78.77
-0.01% src/mat73.c
Jobs
ID Job ID Ran Files Coverage
1 #1267.1 15 Nov 2026 11:03AM UTC 1504
82.71
Source Files on build #1267
  • Tree
  • List 1504
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 63af885f on github
  • Prev Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc