Rank: 237 based on 289 downloads (last 30 days) and 4 files submitted
photo

Peter Rydesäter

E-mail
Company/University
SenseAir

Personal Profile:

Software and Electronic enginering.

Professional Interests:

 

Watch this Author's files

 

Files Posted by Peter View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
06 Mar 2008 Screenshot TCP/UDP/IP Toolbox 2.0.6 TCP/IP connections or UDP packets in MATLAB Author: Peter Rydesäter udp, web, data export, network, data import, urbi 206 46
  • 4.625
4.6 | 32 ratings
30 Sep 2003 Screenshot prcorr2 - 10 times faster correlation coef. Compute correlation coefficient over all dimensions. Author: Peter Rydesäter video processing, correlation, corr2, image, signal, mex 13 4
  • 4.33333
4.3 | 3 ratings
29 Sep 2003 Screenshot DOTNOT - Dot Notation Implements a replacement interface to GET/SET for graphic/gui options. Author: Peter Rydesäter gui tools, get set graphics, example, gui, utilities 6 4
  • 1.0
1.0 | 1 rating
12 Nov 2002 JPEG2000 Reads and writes files in the new JPEG 2000 image format. Author: Peter Rydesäter jpeg200, image file, imread, image, jpeg, imwrite 64 24
  • 4.21053
4.2 | 20 ratings
Comments and Ratings on Peter's Files View all
Updated File Comment by Comments Rating
19 May 2010 DOTNOT - Dot Notation Implements a replacement interface to GET/SET for graphic/gui options. Author: Peter Rydesäter Christoffer

Quite neat, if implemented it would quickly save a few lines in my GUI's.

13 Mar 2010 TCP/UDP/IP Toolbox 2.0.6 TCP/IP connections or UDP packets in MATLAB Author: Peter Rydesäter donor, anon

I was able to achieve >512mbps (that's 0.5 gigabit/sec) of read or write by modifying pnet.c as follows, and recompiling the mex extention:

---- edit of pnet.c start here----------------
int tcp_connect(const char *hostname,const int port)
{
+ int optval;
+ int result=0;

    if(ipv4_lookup(hostname,port)==-1)
return -1;
    con[con_index].fid=socket(AF_INET, SOCK_STREAM, 0);

+ optval=1;
+ result = setsockopt(con[con_index].fid, +IPPROTO_TCP,TCP_NODELAY,(char *) &optval,sizeof(optval));
+ optval = 512*1024;
+ result = setsockopt(con[con_index].fid, SOL_SOCKET,SO_SNDBUF,(char *) &optval,sizeof(optval));
+ result = setsockopt(con[con_index].fid, SOL_SOCKET,SO_RCVBUF,(char *) &optval,sizeof(optval));

---- edit of pnet.c ends here----------------

 with the modified pnet, executing pnet read/write calls using a buffer of 512kbytes gave very high throughput.

Thank you very much peter , for contributing this and sharing
the source, it's been very useful.

06 Mar 2010 TCP/UDP/IP Toolbox 2.0.6 TCP/IP connections or UDP packets in MATLAB Author: Peter Rydesäter iBass, Igory

If anybody had such wrong like a 'pnet_sendvar bla bla bla', correct youself pnet_putvar M-file.
 - Write "pnet_putvar" instead of "pnet_sendvar" on LINE 46.
Enjoy;)

18 Feb 2010 TCP/UDP/IP Toolbox 2.0.6 TCP/IP connections or UDP packets in MATLAB Author: Peter Rydesäter Selleck, Colin

Anyone have luck running this under MAC OS 10.6.2 Snow Leopard? It seems to put MATLAB in an infinite busy state.

28 Jan 2010 TCP/UDP/IP Toolbox 2.0.6 TCP/IP connections or UDP packets in MATLAB Author: Peter Rydesäter Volpe, Christopher

When the latest version loads,the console output claims that it is version 2.0.5, as that's the version that's hard-coded into pnet.c. Is this merely a cosmetic error?

Top Tags Applied by Peter
image, audio processing, client, connection, corr2
Files Tagged by Peter View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
06 Mar 2008 Screenshot TCP/UDP/IP Toolbox 2.0.6 TCP/IP connections or UDP packets in MATLAB Author: Peter Rydesäter udp, web, data export, network, data import, urbi 206 46
  • 4.625
4.6 | 32 ratings
30 Sep 2003 Screenshot prcorr2 - 10 times faster correlation coef. Compute correlation coefficient over all dimensions. Author: Peter Rydesäter video processing, correlation, corr2, image, signal, mex 13 4
  • 4.33333
4.3 | 3 ratings
29 Sep 2003 Screenshot DOTNOT - Dot Notation Implements a replacement interface to GET/SET for graphic/gui options. Author: Peter Rydesäter gui tools, get set graphics, example, gui, utilities 6 4
  • 1.0
1.0 | 1 rating
12 Nov 2002 JPEG2000 Reads and writes files in the new JPEG 2000 image format. Author: Peter Rydesäter jpeg200, image file, imread, image, jpeg, imwrite 64 24
  • 4.21053
4.2 | 20 ratings

Contact us at files@mathworks.com