I installed Octave support package for Arduino and it is listed in the packages installed when pkg list command is run.But when the command "a= arduino('COM8')"; is run,"error: serial: Error opening the interface: No such file or directory" is shown.Please respond.

  • Are you able to connect with the Arduino on COM8 through the Arduino IDE? – chrisl May 13 '19 at 10:05
  • So in the Windows device manager, what COM ports do you see? – Maximilian Gerhardt May 13 '19 at 15:11

Using clear command on Octave before executing a=arduino('COM8') will remove this problem.

Use it like this:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.