fid is file id.
len is maximum length to be read.
datatype optional char array argument specifying what datatype to read.
Read given number of characters (bytes) OR elements of other datatype
if specified. Data vill be returned as specified datatype.
Se fwrite for more about names of different datatypes.
Operation will be interupted before len is reached if their
is no more character to read at the moment. (non blocking)
Type conversion from the tcpipstream of ‘char’ is stream is slow!!!!
If you use this functionality you schuold know their is better
ways of doing it! u8read() and u8write() are available at mathworks
user contributed ftp site and are probably better way of convert
this stream of char to other data types afterwords in your script.
Somethink similar will be included in future inside the toolbox….
Reads (max) 20 elements of type 'double' from tcpip connection.
Reads characters (bytes) from tcpip connection.
Reads 1024 elements of datatype uint16.