hamzahabib
Newbie level 2
- Joined
- Dec 4, 2012
- Messages
- 2
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,293
Matlab code
u=udp('192.168.1.166', 9090, 'LocalPort', 42690, 'InputBufferSize', 8192, 'TimeOut', 10);
fopen(u);
while(1)
[a,count]= fread(u, 1024, 'double');
end
fclose(u)
delete(u)
i am using this code to capture udp packet in matlab. i am using 2 ethernet card in my system and one is dedicated to capture udp packets from fpga.wireshark show me the packet packets but matlab not capture the packet. Any one guide me how i capture the udp packet. My packet speed is 1G....................Help me plz
u=udp('192.168.1.166', 9090, 'LocalPort', 42690, 'InputBufferSize', 8192, 'TimeOut', 10);
fopen(u);
while(1)
[a,count]= fread(u, 1024, 'double');
end
fclose(u)
delete(u)
i am using this code to capture udp packet in matlab. i am using 2 ethernet card in my system and one is dedicated to capture udp packets from fpga.wireshark show me the packet packets but matlab not capture the packet. Any one guide me how i capture the udp packet. My packet speed is 1G....................Help me plz