- Add a ‘S-Parameter Testbench’ block to the canvas and attach the ports between which you want to measure the S-parameters to ports 1 and 2 of the ‘S-Parameter Testbench’ block.
- In the Block Parameters of the ‘S-Parameter Testbench’ block, configure the properties of the stimulus. Make sure to clear the ‘Use internal Configuration block’ checkbox in case you are defining the settings of the network externally, as in the example.
- Upon running the simulation, you will find a ‘sparameters’ object created in the base workspace, containing the measurement data. Default name of the object will be ‘SParamObjOut’ which can be changed in the Block Parameters.