Determines whether a variable is a structure. A structure can be a scalar structure or a structure array.
b = is_struct(s)Legacy name: isstruct
Name of the variable you want to check as to whether it is a structure.
1 (True) if s is a structure. Otherwise the function returns 0 (False). b is a Boolean.
point.x = 3.0; point.y = 4.0; point.color = 'blue'; B = is_struct(point)
Where This Node Can Run:
Desktop OS: Windows
FPGA: This product does not support FPGA devices