This issue occurs if MATLAB cannot find the binary files for the architecture of your computer.
For example, if you installed the 64-bit Linux version of MATLAB and you have a 32-bit Linux operating system, you will receive this error when launching MATLAB.
This issue may also occur if MATLAB was installed from downloads and the architecture files were not downloaded.
To confirm what binaries are available for your installation check the “bin” subdirectory of your MATLAB installation. There should be a folder for the architecture that was installed. You should see one or more of the following in that directory based on what was installed:
glnx86 = 32-bit Linux
glnxa64 = 64-bit Linux
sol64 = Solaris (SPARC)
maci = 32-bit Intel Mac OS X
maci64 = 64-bit Intel Mac OS X
mac = PPC Mac OS X
If you do not see a folder for your architecture, you will not be able to use MATLAB on your computer. In that case reinstalling MATLAB with the appropriate files should resolve this issue.
check to make sure that you have files that have a .common extension as well as files with the extension that matches the list of binaries above. For example, to install MATLAB on 32-bit Linux, you should have both a matlab.common and matlab.glnx86 file. If you are missing any of these files, go back and download the missing ones to complete your installation.
If you have confirmed that your MATLAB installation has an appropriate bin folder for your computer architecture, check to see if you have a $MATLABROOT environment variable set.