[matlab] Is there a foreach in MATLAB? If so, how does it behave if the underlying data changes?