The clearance for a closed gable is about 3 inches less than the leg height.
If you choose to close the gables of a carport with 7′ legs, the clearance under the gable will be about 6′ 9″.
Here is a picture of a regular style carport with both gables closed.