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)

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

|