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?

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.

4 Kommentare

Do you want to send some random binary number, when you press the push buton?
How many push buttons you want to create?.
i want 8 push buttons .and each push button has its specific binary number for example first push button has binary number 1000 0000 and second push button has binary 0100 0000 etc.
i want to receive these binary numbers on port (com3 or com4).
  • 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
If you're looking for assistance in sending binary data from the port of a PC through a MATLAB GUI, you're in the right place. At Engineersplanet, we specialize in helping engineering students with their projects, including providing codes and guidance for MATLAB programming tasks.
Visit Engineersplanet.com to get expert help on this and many other engineering projects.

Melden Sie sich an, um zu kommentieren.

Antworten (2)

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

1 Kommentar

i want to receive eight bit binary number on port (com 3 or com4) of pc.i will further design any hardware on the basis of binary number .i will connect that hardware with the port where i receive binary numbers.

Melden Sie sich an, um zu kommentieren.

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
push2.png
push3.png

5 Kommentare

thanks sir.could you please send me the arduino code acording to this binary sequence for different LED blinking.
sir kindly send me the arduino code also for different led blinking.for example if a press push button-1 led-1 blinks and if if press push button-2 led-2 blinks .now i require an arduino code .kindly help me .i shall be very thankfull to you.
Hi abdul,
I don't have hardware kit, so i could not test itseems.
Please refer below link for blinking LED in arduino code.
If you're looking for assistance in sending binary data from the port of a PC through a MATLAB GUI, you're in the right place. At Engineersplanet, we specialize in helping engineering students with their projects, including providing codes and guidance for MATLAB programming tasks.
Visit Engineersplanet.com to get expert help on this and many other engineering projects.

Melden Sie sich an, um zu kommentieren.

Kategorien

Gefragt:

am 24 Mai 2019

Kommentiert:

am 16 Aug. 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by