Help CenterHelp Center
Close RF Blockset model window created using rfsystem
rfsystem
Since R2021a
close_system(rfs)
close_system(rfs,saveflag)
close_system(rfs) closes the RF Blockset™ model window created using rfsystem System object™ rfs.
rfs
Note
You must save your system before using the close_system function.
close_system
example
close_system(rfs,saveflag) lets you specify whether to save the RF Blockset model with its current name or to close it without saving.
saveflag
collapse all
This example uses:
Create a fifth-order bandpass RF filter and an amplifier with the gain of 3 dB.
3
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 elements at an input frequency of 5 GHz, an available input power of -30 dBm, and a bandwidth of 200 MHz.
rfbudget
5
-30
200
rfb = rfbudget([f1 a1],5e9,-30,200e6);
Create an RF system using the rfbudget object and name the RF Blockset model.
rfs = rfsystem(rfb,'ModelName','RFSystem');
Open the RF Blockset model.
open_system(rfs)
Save and close the RF Blockset model.
save_system(rfs); close_system(rfs)
RF system, specified as an rfsystem object.
0
1
Option to save model using the current file name, specified as 0 to close without saving or 1 to save and then close.
Introduced in R2021a
rfsystem | open_system | save_system | hide_system
open_system
save_system
hide_system
Sie haben auf einen Link geklickt, der diesem MATLAB-Befehl entspricht:
Führen Sie den Befehl durch Eingabe in das MATLAB-Befehlsfenster aus. Webbrowser unterstützen keine MATLAB-Befehle.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office