Text this: MATLAB for photomechanics