My current arduino code is just printing "1" to the serial repeatedly. I have tried having my arduino print 1-100 on the serial port instead, but then my matlab returns random values between 48-57. Terminal shows the proper stream of values in.
Ah, okay, I'm assuming then that the xbee reads in chars all the time? Is there a way in matlab or arduino to make it so that I can read ints in matlab?
If you are using Serial.print(), then you are asking the Arduino to convert whatever you are printing into a human readable format. Try using Serial.write() instead, and see what that does.