istable

istable(X) returns true if X is of type table.

Examples

>> name = {'jack';'john';'alexander';'thomas'}
age = [26 30 25 24]'   
subscribed = [true true false true]'
t = table(name,age,subscribed)#

       name           age    subscribed 
       jack            26             1 
       john            30             1 
  alexander            25             0 
     thomas            24             1 

>> istable(t)

[ans:true]
>> istable({'a'})

[ans:false]

Resources

See also

cell | isa | islogical | isstruct