Return all fields from a struct
fields = field_iterator(iterableStruct)
struct where we want to extract fields from
list containing extracted fields
This function is mainly used as a helper for iterating over structs via for loops.
choose_plot_example("simple"); attributes = gather_graphic_attributes(); for field = field_iterator(attributes) disp(field) end | ![]() | ![]() |