.matteo wrote on Jun 27th, 2009, 12:48pm:How can I do it? Does anybody have previous experiences to share about it? I have the RF Toolbox too
"RF Toolbox" is MATLAB not Simulink.MATLAB are different from Simulink.
See documents of
"RF Blockset" of Simulink.
If you have
"RF Blockset", you can use s2p file easily.
Use the following three blocks.
RF Blockset>Physical>Input/Output Ports>Input Port
RF Blockset>Physical>Input/Output Ports>Output Port
RF Blockset>Physical>Black Box Elements>General Passive Network
Of course, here you have to understand concept of equivalent lowpass model for RF bandpass system very correctly to use these blocks.If you don't have "RF Blockset", create complex coefficients FIR model to express S21 as equivalent lowpass model.
Of course, also here you have to understand concept of equivalent lowpass model for RF bandpass system very correctly.
You have to understand that models of Simulink are no more than signal flow system not energy conservative system which have flow and potential, although "RF Blockset" take account of S11, S12 and S22.