When the attorney general asks if he has ever prosecuted a case before, Matlock says no. In fact, during an episode flashback (season 6), Matlock is shown prosecuting a case at the start of his career. After this, he tells his father he wants to quit his job as prosecutor and become a defense attorney.