Apple and xcode do not provide gcc. Any file called gcc us a link to clang
You need to install gcc from a third party and also check the version has mp enabled.
The easiest way is to install gcc using a package manager like macports, homebrew or fink.
I would check your Login items:
Go to Apple > System Preferences > Users & Groups
Make sure your User Account is selected at top left
Click on the Login Items tab
Look for an item called Matlab drive connector (or something similar that could be triggering this) in the list of login items
Now remove this item by clicking on its name (so it's highlighted)...
MATLAB requires the directory and filename be added to the javaclasspath. Litmus test:
STATIC JAVA PATH
Instructions for adding the .jar files to ...
The synclient program is a command line tool for accessing Synaptics driver options in Linux, so that's only relevant if you're on a Linux system with a Synaptics touchpad.
On my Mac, I had this problem when using a Magic Mouse to access a Linux desktop remotely via NoMachine/NX. The Magic Mouse has no "button", but instead has a trackpad like surface that ...
Go to info.plist, change LSUIElement value back to 0. This will fix the dock icon. This might introduce some other issues however (I don't use matlab too extensively), so if you experience any visual glitches it might be due to modifying the plist, not matlab itself.
I don't have other machines to verify, but I believe the "issue" you describe is not ...