PBS-matlab scrips