mathworks / jenkins-matlab-plugin

This plugin enables you to run MATLAB® and Simulink® as part of your Jenkins™ build.
47 stars 54 forks source link

Setting ERRORLEVEL env var on Windows may cause Run MATLAB Command to launch with incorrect startup options #234

Closed mcafaro closed 3 months ago

mcafaro commented 1 year ago

Per #232 , if you set an ERRORLEVEL env variable on Windows before calling Run MATLAB Command, as shown:

set ERRORLEVEL
ERRORLEVEL = test;

it may cause MATLAB to launch with incorrect startup options for your particular version of MATLAB (e.g. using the -batch startup option before -batch existed).

mcafaro commented 3 months ago

We no longer use shell scripts to launch MATLAB, thus having ERRORLEVEL set is no longer an issue.