ml_check_cell_param

Performs an assert on all elements in a cell-array.

Contents

Syntax

opts    = ml_check_cell_param(opts, field, assertFn, default)
cellArr = ml_check_cell_param(param, name, assertFn)

Description

Checks for the field of a struct or any variable to pass assertFn and packs it into a cell array. If the given variable already is a cell array, all elements are tested and empty values are overwritten with the default.

Input

Output

See Also

ml_field_set_to_value