Contradictory results in command window with variable class and ischar function?
1 view (last 30 days)
More Answers (1)
Steven Lord on 3 Nov 2022
This code, class structure(8).timetotemp, is equivalent to:
If you had a variable array named structure whose 8th element had a property or field named timetotemp and you wanted to know the class of that property or field, use the function form of the class function call rather than the command form.
structure(8) = struct('timetotemp', datetime('today'))