+ Post New Thread
Results 1 to 2 of 2
  1. #1
    Junior Member level 2
    Points: 211, Level: 2

    Join Date
    May 2019
    Posts
    22
    Helped
    0 / 0
    Points
    211
    Level
    2

    Arduino-Pc interface

    Hello,
    im trying to interface my arduino uno with matlab. however, when i try to load my code in IDE software it shows the error
    "avrdue:ser_open():cant open device '\\.\COM4":the system cannod find the file specified." this in turn results in the connection error in Matlab "Failed to open the serial port COM4 to communicate wih the board uno. Make sure there is no other MATLAB arduino object for this board."
    i checked the device manager for COM4 and updated the driver software as well. also, selected the right board and port in IDE. still, i cant fix the error. Can anyone suggest any method?

    •   AltAdvertisement

        
       

  2. #2
    Super Moderator
    Points: 261,068, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    45,605
    Helped
    13871 / 13871
    Points
    261,068
    Level
    100

    Re: Arduino-Pc interface

    Arduino must not be connected to IDE at the same time.


    1 members found this post helpful.

--[[ ]]--