calc_flags edit page

check for optional flag

Syntax

flags = calc_flags(args,flagbits)

Input

varargin
list {flag_name,bit_position}

Output

bitsum