When you try to connect from the MATLAB® software to the EV3 hardware, the Command Window displays an error. For example:
myev3 = legoev3
Error using legoev3 (line 285) Failed to connect to EV3 through USB. Please check your USB connection.
Verify that the EV3 power is on. If not, start the EV3 brick by pushing the power button.
If the EV3 power was off, any
legoev3 and sensor
objects in the MATLAB Workspace are no longer valid. Clear those objects from the MATLAB Workspace. For example:
Check that the USB, wireless network, or the Bluetooth® cables and hardware are set up as described in Connect the Host Computer to an EV3 Brick.
verify that you installed the support package.
Name Version Base Product ------------------- ------- -------------- LEGO MINDSTORMS EV3 14.2.0 MATLAB
check for updates to the support package.
No support packages need updates.
If you did not install the support package, or updates are available, use
supportPackageInstaller to install or update the support package.