Main Content

load_system

Load RF Blockset model to memory

Since R2022a

    Description

    load_system(rfs) loads the RF Blockset™ model associated with the RF system rfs to memory without opening the model in Simulink® Editor. You must create the RF system using the rfsystem System object™

    example

    Examples

    collapse all

    Create a fifth-order bandpass RF filter and an amplifier with the gain of 3 dB.

    f1 = rffilter('ResponseType','Bandpass','FilterOrder',5,'PassbandFrequency',[4.85 5.15]*1e9);
    a1 = amplifier('Gain',3,'NF',1.53,'OIP3',35);
    

    Create an rfbudget object using the two elements at an input frequency of 5 GHz, an available input power of – 30 dBm, and a bandwidth of 200 MHz.

    rfb = rfbudget([f1 a1],5e9,-30,200e6);
    

    Create an RF system using rfsystem System object.

    rfs = rfsystem(rfb);
    

    Open the RF Blockset model.

    load_system(rfs)
    

    Input Arguments

    collapse all

    RF system, specified as an rfsystem object.

    Version History

    Introduced in R2022a