table.isempty
table: TF = isempty (tbl)
Test input table for being empty.
For tables, isempty is true if the number of rows is 0 or the
number of variables is 0.
Source Code: table
A table is empty when it has no rows or no variables. Note that a table with named variables but zero rows still counts as empty.
T = table ('Size', [0, 3], 'VariableTypes', {'double', 'string', 'double'})
T = 0x3 empty table
isempty (T)
ans = 1
Adding a row makes it non-empty.
T(1, :) = {42, string('S1'), 3.14};
isempty (T)
ans = 0