Hi Andrew
I created a script with just the statements 'clc; clear; close all' , named it as 'myscript.m , executed 'j=batch('myscript')' and it worked fine in MATLAB R2015a. Similarly, the empty function as argument did not give any issues. What is the version of MATLAB that you are using? Also, please post screenshots of the error messages obtained.