problem in creating serialobject with the command serialport
3 次查看(过去 30 天)
显示 更早的评论
Hi!!! I'm a PhD student in a PhD programme of Electronics and computer Science with a degree in Chemistry with almost no experience in controlling my Arduino Uno with Matlab, so my question could be quite simple. Now I have to initializate the serial communication with arduino, so that I create the serialObject with the command serialport. Before to create the SerialObject, I check the serial port available with the command
serialportlist("available")
and from the command the serial port COM3 to which is connected my Arduino results available.
successively I create The serial object with the command serialport
S = serialport("COM3", 9600)
but after creating the serial object, if I can check the serial port available with the comamand serialportlist("available") none serial port results available. what could be the problem?
please, if I poorly described something, tell me so I can define better!!
really thanks for all, sincerely
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!