The batch option uses the reqpath. The cellindex way used to compose the reqpath, will fail to add the 'main' folder of a certain toolbox, if the folder is specified with a trailing pathsep character (i.e. a / on linux). Thus the batch jobs can error on failing to find certain functions, as they are not on the path for the tasks matlab process. Proposed Fix reqpath creation to take possible trailing pathseps into account.
#254 (comment)
The batch option uses the reqpath. The cellindex way used to compose the reqpath, will fail to add the 'main' folder of a certain toolbox, if the folder is specified with a trailing pathsep character (i.e. a / on linux). Thus the batch jobs can error on failing to find certain functions, as they are not on the path for the tasks matlab process. Proposed Fix reqpath creation to take possible trailing pathseps into account.
#254 (comment)