I want to run my matlab instance as a special group. I tried setting sgid on matlab-startup-script or (not exclusive) on MATLAB-binary. Both ways were not successful.
For example running
sudo chmod g+s matlab glnxa64/MATLAB and
matlab results in
/usr/local/MATLAB/R2013a/bin/glnxa64/MATLAB: error while loading shared libraries: libut.so: cannot open shared object file: No such file or directory
The given file has read and execute rights for root, group (same as sgid) and even world. Isn't that strange?