Main Content

Troubleshoot Arduino in MATLAB Online

Failed to connect to Arduino Hardware

If you fail to connect to the Arduino® hardware board when executing commands in MATLAB® Online™, try the following fixes:

Arduino Is Not Listed in arduinolist Output

If your board does not appear in the output of arduinolist, you can specify a larger timeout value. Use a name-value argument with arduinolist to specify the maximum amount of time (in seconds) to scan for Arduino hardware boards in MATLAB Online. For example, scan for boards associated with your credentials for up to 20 seconds.

list = arduinolist("Timeout",20)

Hardware Setup Screen Gets Truncated

If your hardware setup screen gets truncated, try the following fixes:

  • Use the web browser in full screen mode.

  • Check if the resolution of your screen is more than or equal to 1024-by-768. Also reduce the scale of your display to 100%.

Port Access Authorization Required

If arduinolist returns an error message that indicates that port access authorization is required, obtain the necessary permissions to access the COM port.

See Also

|

Go to top of page