import matlab.engine
错误信息:
/usr/local/MATLAB/R2022a/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: undefined symbol: __cxa_thread_atexit_impl
解决办法:
设定环境变量LD_PRELOAD
export LD_PRELOAD=/usr/local/MATLAB/R2022a/bin/glnxa64/glibc-2.17_shim.so
zz: https://www.mathworks.com/matlabcentral/answers/597865-matlab-linking-error-centos-7-r2020b