Rank: 3146 based on 12 downloads (last 30 days) and 1 file submitted
photo

Kevin Barry

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Kevin
Updated   File Tags Downloads
(last 30 days)
Comments Rating
15 Apr 2009 SerialWrite Mex SerialWrite is written in C and allows you to write to a serial or com port. Author: Kevin Barry com port, serial port, comm, serial, com1, com 12 3
  • 4.0
4.0 | 2 ratings
Comments and Ratings by Kevin
Updated File Comments Rating
20 Apr 2009 SerialWrite Mex SerialWrite is written in C and allows you to write to a serial or com port. Author: Kevin Barry

WriteFile is part of the Windows API.

Check out ReadFile here: http://msdn.microsoft.com/en-us/library/aa365467(VS.85).aspx

I'm normally program Linux or Mac, so I don't know this stuff well (I learned about WriteFile when I wrote SerialWrite)

Comments and Ratings on Kevin's Files View all
Updated File Comment by Comments Rating
10 Aug 2009 SerialWrite Mex SerialWrite is written in C and allows you to write to a serial or com port. Author: Kevin Barry Lim, Hyon

Thank you.
This will be very helpful to make s-function

20 Apr 2009 SerialWrite Mex SerialWrite is written in C and allows you to write to a serial or com port. Author: Kevin Barry Barry, Kevin

WriteFile is part of the Windows API.

Check out ReadFile here: http://msdn.microsoft.com/en-us/library/aa365467(VS.85).aspx

I'm normally program Linux or Mac, so I don't know this stuff well (I learned about WriteFile when I wrote SerialWrite)

20 Apr 2009 SerialWrite Mex SerialWrite is written in C and allows you to write to a serial or com port. Author: Kevin Barry F, Dagnir

Thank you for this code.
I was looking for an alternative to the "serial" given by Matlab because it is too slow/cannot compile to mex.
Your code is faster and indeed easy to understand.
Yet being new to Matlab I don't understand where does the WriteFile function come from. Likewise, is there a ReadFile function one could use in the same way ?

Top Tags Applied by Kevin
baud, com, com port, com1, comm
Files Tagged by Kevin
Updated   File Tags Downloads
(last 30 days)
Comments Rating
15 Apr 2009 SerialWrite Mex SerialWrite is written in C and allows you to write to a serial or com port. Author: Kevin Barry com port, serial port, comm, serial, com1, com 12 3
  • 4.0
4.0 | 2 ratings

Contact us at files@mathworks.com