send bits from matlab to ehternet port

1 view (last 30 days)
gasser
gasser on 23 Feb 2011
Hi all,
i want to send bits from matlab to ethernet port, so if any one can give me a simple example on interfacing matlab with ehternet port
thanks a lot.

Answers (2)

Jiro Doke
Jiro Doke on 23 Feb 2011
One option is to use the function tcpip (requires Instrument Control Toolbox).

Walter Roberson
Walter Roberson on 23 Feb 2011
There are a couple of different but related meanings for "ethernet".
The more correct one has to do with standards about the physical layer and timing tolerances, about how data is signaled and how collisions are detected. It is not possible to transmit individual bits over ethernet when you are talking at that level -- for example, gigabit ethernet transmits 4 channels simultaneously.
Ethernet is sometimes also used to refer to IP packets, the abstract bit-level framework that includes TCP and UDP. It is not possible to transmit individual bits within the IP framework.
If you do have a situation in which you need to be able to control the signal level moment by moment, then you will not be able to use the standard ethernet layers: you will have to find a device that allows you such control and you will probably have to write the interrupt routines yourself. It has been a couple of decades since I last encountered a device that could handle that level of control, and that was within the context of Packet Radio; in those days, the favorite control system for Packet Radio systems was a Tandy "CoCo" (Color Computer).

Categories

Find more on Instrument Control Toolbox Supported Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!