From Bulbapedia, the community-driven Pokémon encyclopedia.
An Auto Deck Machine is a computer at Mason Laboratory that contains lists for certain card decks; if the player has each necessary card of a particular deck list, the machine can also build the corresponding deck. There are 9 Auto Deck Machines found at Mason Laboratory, only one of which is operational from the beginning of the game. The remaining 8 require the player to defeat Club Masters to obtain Club Medals that can be used to activate them.
The Deck Save Machine, a computer similar to an Auto Deck Machine, can be found at the southwest corner of the laboratory. Using this machine, players can save their own deck configurations by which the Deck Save Machine will reconstruct their deck to this setting at any later time.
List of constructible decks