CI: use variables for chosing MATLAB and Octave versions

parent 11e9e608
Pipeline #4565 passed with stage
in 4 minutes and 29 seconds