📄 adaptivebfparamcb.m
字号:
%adaptiveBFParamcb%% This is a callback function for the taperType parameter in the % adaptivebeamforming block.% Disable the parameter fields for taperParam and nbar if taperType is % chosen to 'uniform'% Disable the parameter field for nbar if taperType is chosen to 'cheby'tempCell=get_param(gcb,'MaskValues');taperType=tempCell{4};set_param(gcb,'MaskEnables',{'on','on','on','on','on','on'});switch(taperType) case 'uniform' set_param(gcb,'MaskVisibilities',{'on','on','on','on','off','off'}); case 'cheby' set_param(gcb,'MaskVisibilities',{'on','on','on','on','on','off'}); case 'taylor' set_param(gcb,'MaskVisibilities',{'on','on','on','on','on','on'}); end %switch
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -