The Spaniard underwent surgery on the problem seven weeks ago and has made a quick recovery to strengthen the options available to Pep Guardiola.
Martinez has not featured for Bayern since their UEFA Super Cup triumph over Chelsea in August, missing five league games and the opening two UEFA Champions League group stage matches.
Wednesday's Group D clash with Viktoria Plzen may come too quickly for the 25-year-old, but he hopes to be involved as soon.
"I enjoyed it (training)," he told the club's official website. "I am finally back on the pitch.
"Now I hope to help the team as soon as possible in games again.
"But I need a little patience and a lot of training."
In Martinez's absence, Bayern have remained unbeaten with seven wins and one draw in all competitions.
Get the best features, fun and footballing frolics straight to your inbox every week.
Thank you for signing up to Four Four Two. You will receive a verification email shortly.
There was a problem. Please refresh the page and try again.