Matlab-RS485-Arduino---HELP

the only communication that is done is
digitalWrite(pinT,HIGH);
delay(10);
Serial.println(5);
delay(10);
digitalWrite(pinT,LOW);

regardless of whether it is this a piece of code digitalWrite(pinT,HIGH); included or not