In some cases, this warning and/or error can be an indication that there is an undefined symbol or missing library in your MATLAB installation. This can be due to a library incompatibility between the MATLAB application and libraries that could be a part of your operating system. This can often be resolved by setting aside MATLAB's version of the library.
Please follow the steps at the following MATLAB Answers Post to expose which library could be causing the issue.
For the above post, the symbol and library causing this issue were exposed using the "MATLABWindow" command. The steps to resolve the issue are the same.
If you do not see an error of this form or following these steps does not resolve the issue, please contact MathWorks Technical Support.