send bits from matlab to ehternet port

1 次查看(过去 30 天)
gasser
gasser 2011-2-23
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.

回答(2 个)

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

Walter Roberson
Walter Roberson 2011-2-23
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).

类别

Help CenterFile Exchange 中查找有关 Data Acquisition Toolbox Supported Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by