Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
development:realtime:buffer_matlab [2013/11/12 18:49]
84.241.210.146
development:realtime:buffer_matlab [2017/08/17 11:21] (current)
Line 24: Line 24:
  
  
-=== Details on the MATLAB mex-file implementation ====+==== Details on the MATLAB mex-file implementation ====
  
 In principle the only support that has to be implemented specifically in Matlab is to allow it connect as client to the buffer server. That could be done using the pnet function from the tcp_udp_ip toolbox. For efficiency reasons and for simplicity, we also have made a direct implementation of the buffer source code in MATLAB by wrappint it into a mex file.  In principle the only support that has to be implemented specifically in Matlab is to allow it connect as client to the buffer server. That could be done using the pnet function from the tcp_udp_ip toolbox. For efficiency reasons and for simplicity, we also have made a direct implementation of the buffer source code in MATLAB by wrappint it into a mex file. 
Line 33: Line 33:
  
  
-=== Writing a new proxy for acquring data in Matlab ===+==== Writing a new proxy for acquring data in Matlab ===
 You should start by studying the example scripts in the '​realtime'​ directory, e.g. **[[:​reference:​ft_realtime_signalproxy]]** as an example of how to write random data to a buffer, or **[[:​reference:​ft_realtime_pooraudioproxy]]** as a simple example for reading data from some hardware device and writing into a buffer. You should start by studying the example scripts in the '​realtime'​ directory, e.g. **[[:​reference:​ft_realtime_signalproxy]]** as an example of how to write random data to a buffer, or **[[:​reference:​ft_realtime_pooraudioproxy]]** as a simple example for reading data from some hardware device and writing into a buffer.