| MATLAB Function Reference | ![]() |
Determine if item is a MATLAB structure array
Syntax
Description
tf = isstruct(A)
returns logical true (1) if A is a MATLAB structure and logical false (0) otherwise.
Examples
patient.name = 'John Doe'; patient.billing = 127.00; patient.test = [79 75 73; 180 178 177.5; 220 210 205]; isstruct(patient) ans = 1
See Also
struct, isfield, iscell, ischar, isobject, isnumeric, islogical, isa, is*
| isstr | isstudent | ![]() |