[mac_free] $ /Users/yitingw/bash/jenkins/workspace/mac_free/.matlab/tempDir.tmp1446622203692712450/run-matlab-command "setenv('MW_ORIG_WORKING_FOLDER', cd('/Users/yitingw/bash/jenkins/workspace/mac_free/.matlab/tempDir.tmp1446622203692712450'));script_rV6jmVQu" -sd matlab
env: /Applications/MATLAB_R2024a.app/bin/maci64/path_per_install: No such file or directory
mkdir: /bin/maci64: Operation not permitted
matlab: No MATLAB bin directory for this machine architecture.
ARCH = maci64
exit status 1
Received a nonzero exit code 1 while trying to run MATLAB.
Finished: FAILURE
Got this error on an apple silicon mac agent, same pipeline passed on the Intel mac.
#################### Starting command output #################### $ **** Generating MATLAB script with content: pwd
[mac_free] $ /Users/yitingw/bash/jenkins/workspace/mac_free/.matlab/tempDir.tmp1446622203692712450/run-matlab-command "setenv('MW_ORIG_WORKING_FOLDER', cd('/Users/yitingw/bash/jenkins/workspace/mac_free/.matlab/tempDir.tmp1446622203692712450'));script_rV6jmVQu" -sd matlab env: /Applications/MATLAB_R2024a.app/bin/maci64/path_per_install: No such file or directory mkdir: /bin/maci64: Operation not permitted
exit status 1 Received a nonzero exit code 1 while trying to run MATLAB. Finished: FAILURE