I wonder why MathWorks ships system libraries with MATLAB? Is there a reason to do this?
If the reason is because some other library bundled with MATLAB is built against these specific library versions shipped with MATLAB and won't work with system libraries, then this suggested workaround will simply break something else (and it will).
MATLAB still requires a bunch of other system libraries and they don't ship them.
So why not stop bundling system libraries with MATLAB at all and instead provide a definitive list of required dependencies (instead of having me to pull them from matlab-deps docker image for ubuntu or installing matlab-support pseudo package on debian)?