sign language gloves

my graduation project is sign language gloves , i use flex sensor and mpu6050 (accelerometer and gyroscope) i want to know how to take readings of sensors and save it in text file then how to make analysis on this readings to know what sign is it?
can i use matlab to take readings of sensors and what algorithm i need for sign recognation

Do you want online or offline processing of the gestures?

For online processing you need code on the PC to read serial data from the Arduino. For offline processing you need something like a SD card for recording the sensor data in a file, which later is read by Matlab.

For the Arduino code see the examples coming with the sensor libraries.