'Matlock's Andy Griffith Said Don Knotts 'Didn't Work' and Had to Be Cut From the Courtroom Drama. Andy Griffith's second most successful series, Matlock, ran from 1986 to 1995. The legal drama was vastly different in every way from his other role as a public servant, Sheriff Andy Taylor on The Andy Griffith Show.