Port Sweeps/Manual Terminal Sweeps and Touchstone Export
The Port Sweep Settings section in the Electromagnetic Waves interface describes how to cycle through the ports, compute the entire S-matrix and export it to a Touchstone file.