概述
In the first example, use block with the default syntax, letting the function determine the block name and configuration.
d = fdesign.lowpass('Fp,Fst,Ap,Ast',0.15,0.25,1,60);
hd = design(d);
Now use the default syntax to create a block.
block(hd);
In this second example, define the block name to meet your needs by using the property name/property value pair input arguments.
block(hd, 'blockname', 'FIR Filter');
The figure shows the blocks in a Simulink model. When you try these examples, you see that the second block writes over the first block location. You can avoid this by moving the first block before you generate the second, always naming your block with the blockname property, or setting the Destination property to new which puts the filter block in a new Simulink model.
最后
以上就是畅快背包为你收集整理的matlab from block,Generate block from a digital filter的全部内容,希望文章能够帮你解决matlab from block,Generate block from a digital filter所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复