See the information below for troubleshooting MATLAB Mobile connection errors.
1) Make sure MATLAB (R2012a or higher) is still running on your computer:
If MATLAB is not running and the connector is not running, you will not be able to connect. If MATLAB is still running, try turning off the connector by running:
Once off, turn it back on by running:
If the connector gives you an error message, you may need to reinstall the connector. In that case, follow the steps in the following solution:
2) Try the connector in your web browser from the localhost address:
Check to make sure that the connector is running on the specified port on your computer. To do so, open your web browser on the computer and navigate to:
(If you specified a different port number while installing the components, replace 31415 with your port number.)
If the connector can use the port, a message appears in the browser window, such as:
MATLAB Connector is set up correctly!
Otherwise, consider changing the port number to something other than 31415 (if you did not change the port during initial configuration). Valid values are from 1,024 through 65,535. For help selecting the port, contact your system administrator. For instructions on changing the port, see Changing the Port and Updating Connections:
3) Try the connector in your browser using your IP address or Fully Qualified Hostname:
Is a firewall or antivirus software blocking access to the port? To test, open a web browser on your local computer and navigate to:
The computerID is the fully qualified DNS name or IP address of your computer. If the test is successful, the connector displays a message in the browser window, as described in the previous step. Otherwise, modify your firewall or antivirus settings to allow use of the port. For help with these settings, contact your system administrator.
4) Try the connector in a browser on your iPhone/iPod/iPad/Android device:
Repeat step 3 using the browser on your iOS/Android device. The MATLAB Mobile application requires access to the same network as the computer running the desktop version of MATLAB software. If your device is on a 3G network, use VPN to connect to your network. In that case, you may need to open the port in your firewall or configure your VPN connection to allow the connection. For help with these settings, contact your system administrator. If your computer has multiple IP addresses, you may need to connect with a different one:
5) If the browser works but MATLAB Mobile does not:
In the MATLAB Mobile application, did you correctly specify the DNS name (or IP address), password, and port number for the current connection? For more information, see Determining the DNS Name or IP Address of a Computer and Updating Connections.
If you use MATLAB software on more than one computer, is your device attempting to connect to the correct computer? To switch to a different computer, tap Connections at the top of the Command Window on your device, and select the connection you want. For information on defining additional connections, see Updating Connections: