This error indicates that MATLAB has encountered a licensing issue. To resolve this error, try these possible solutions:
Restart MATLAB
If MATLAB is running, shut it down and restart it to see if that resolves the issue.
macOS Only
On macOS only, if all other possible solutions do not resolve your issue, you may be able to apply the following workaround:
Open Terminal and run the following two commands one at a time:
- launchctl setenv MW_FEATURE_CurlOpenSSLMacOS 0
- killall MathWorksServiceHost
Start MATLAB (if not already running).
Note: If you set the environment variable and the issue is resolved, it is only valid for that "log in session", after a reboot the environment variable is removed/reverted.
Restart the MathWorks Service Host
The MathWorks Service Host is a critical required part of the MathWorks software installed on your machine. Try resolving the issue by restarting your computer.
- Shut down MATLAB if it is still running.
- End the MathWorksServiceHost process. Follow the instructions for your operating system.
Windows
Open the Command Prompt by searching for it from the Windows Start menu. Then, run this command:
Taskkill /IM MathWorksServiceHost.exe /F
macOS
Open the Terminal app by searching for it in Spotlight Search. Spotlight Search is the magnifying glass in the top-right corner of your macOS screen. Then, run this command:
killall MathWorksServiceHost
Linux
Open a terminal window. The way to open a terminal window depends on your Linux distribution. Then, run this command:
killall MATLAB MathWorksServiceHost
- Restart your computer.
- Start MATLAB to see if the issue is resolved.
Check for operating system updates
Check your operating system for updates, and then download and install those updates.
Check computer for viruses
Malicious software on your computer may be preventing MATLAB from behaving correctly. You may need to repair your system before you can use MATLAB.
Disable antivirus software
If your antivirus software has not been able to find any malicious software, the antivirus software itself may be causing MATLAB to malfunction. First try updating your antivirus software. If that doesn’t work, try temporarily disabling it and then launching MATLAB.
Reinstall the MathWorks Service Host
Contact support
If all other possible solutions do not resolve your issue, contact support.