Function default_option¶
Defined in File progress_bar.m
Function Documentation¶
-
function default_option(opts, field, default)¶
-
Check whether a setting was found in the options struct.
- Parameters
-
opts – The options struct.
field – The field to be checked.
default – The default value to be returned if the field is not found.
- Returns
-
out The field, or the default value if the field is not found.