XMODEM CRC 1k implementation for Matlab
works for 1k and standard 128Byte
These are a simple XMODEM transceiver functions
For Transmitting File:
device=tcpserver("127.0.0.1",23);
//or: device=serial(COM1,96200);
file="C\fileToSend.txt";
XmodemTransmit(device,file);
For Receiving File:
device=tcpserver("127.0.0.1",23);
//or: device=serial(COM1,96200);
file="C\fileReceive.txt";
XmodemReceive(device,file);
If you test this with Teraterm, be shure to make
new connection to "service": "Other"!