MATLAB: “The Live Editor is unable to run in the current system configuration” error message when starting Live Editor on Ubuntu 17.04+

17.0417.1018.04aardvarkartfulbeaverbioniceditorlibgconf-2.so.4liveMATLABRequirementsUbuntuupgradezapuszesty

When I open Live Editor in MATLAB on my Ubuntu 17.04 system, a message pops up saying "The Live Editor is unable to run in the current system configuration", and I am unable to use the Live Editor. Why is this happening? How can I fix it?

Best Answer

This is a bug in MATLAB R2017b (and later) that affects Ubuntu 17.04 (and later). Since the release of Ubuntu 17.04, the libgconf-2.so.4 library does not get installed unless it was already on the system prior to an upgrade. However, this library is needed by the Live Editor in order to run.
As a workaround, run the following command in the terminal to install the missing library:
sudo apt-get install libgconf2-4