MATLAB code generated from the Database Explorer app