WebDec 17, 2022 · Structure and Function. The thigh muscles are divided into three compartments: the anterior, medial, and posterior thigh muscles, each of which contains multiple muscles which broadly share the same functional action, innervation, and arterial supply. [3] .