<< isdouble | Types module | isfloat >> |
res = isempty(var) |
a variable
a logical: true or false
isempty returns a logical true if the argument is an empty matrix.
Any one of its dimensions is zero.
A = rand(3, 3, 3);
res = isempty(A)
A(:, :, :) = [];
res = isempty(A)
B = {};
res = isempty(B)
C = struct()
res = isempty(C)
C = struct([])
res = isempty(C)
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET