Supramolecular capsules with gated pores from an amphiphilic rod assembly.