i want to send binary data from port of PC through GUI in MATLAB.i Need a code of this .is anyone here to help me?
1 次查看(过去 30 天)
显示 更早的评论
i want different 8 bits binary output on port through different gui buttons .i.e when i press push button on GUI it will send binary number of 8 bits and when i press another push button on GUI it will send another binary number of 8 bits on port.
3 个评论
Arunprakash nemam
2022-4-26
- Wow, that is quite informative. I like this article very much. The content was good. If any of the engineering students are looking for a interfacing arduino with matlab, I found this site and they are providing the best service to the engineering students regarding the projects interfacing arduino with matlab
回答(2 个)
SAID ELMOTAOUAKKEL
2019-5-24
we didnt understood very well what do you mean by send 8 bits .. send it where and what you will do with those binaary numbers
Murugan C
2019-5-27
Hi Abdul,
Here I have attached pushBotton_comport.m and .fig file and screen shot for the same. I think this is what you are expecting from gui,
![push1.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/221143/push1.png)
![push2.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/221144/push2.png)
![push3.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/221145/push3.png)
4 个评论
Murugan C
2019-6-3
Hi abdul,
I don't have hardware kit, so i could not test itseems.
Please refer below link for blinking LED in arduino code.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!