MATLAB 帮助中心
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
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处