Josh Lindblom (3-3) pitched a scoreless ninth, allowing one walk and striking out one.
Jonathan Papelbon earned his 31st save in 34 chances by striking out Dan Uggla, getting Paul Janish to fly out and striking out Eric Hinske in the 10th.
Martinez (5-4) allowed three hits, three runs, one walk and struck out two.
The Braves, who have lost two straight and three of four, dropped 6½ games behind first-place Washington in the NL East.
Philadelphia has won two straight and six of eight. The Phillies are 18 games back in the NL East, but they finished August with a 17-12 record.