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.
asked May 13, 2019 at 9:16
-
Are you able to connect with the Arduino on COM8 through the Arduino IDE?chrisl– chrisl2019年05月13日 10:05:10 +00:00Commented May 13, 2019 at 10:05
-
So in the Windows device manager, what COM ports do you see?Maximilian Gerhardt– Maximilian Gerhardt2019年05月13日 15:11:04 +00:00Commented May 13, 2019 at 15:11
1 Answer 1
Using clear
command on Octave before executing a=arduino('COM8')
will remove this problem.
Use it like this:
clear
a=arduino('COM8')