Arduino code and matlab port reader