Read data in ASCII mode from serial port, and write data in file
The number of samples is modificable, in this case is 100000 samples
It's possible to compile file with the next instruccion in console of windows CMD:
mcc -m readserial.m -o readserial