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.