User`s guide

readmat
open(rx,'ochannel','r');
enable(rx,'ochannel');
indata = 1:25; % Set up some data.
write(cc,0,indata,30);
outdata=read(cc,0,'double',25,10)
outdata =
Columns 1 through 13
12345678910111213
Columns 14 through 25
14 15 16 17 18 19 20 21 22 23 24 25
Now use RTDX to read the data into a 5-by-5 array called out_array.
out_array = readmat('ochannel','double',[5 5])
See Also readmsg, writemsg
7-122