How to hold previous selection in masked block
2 次查看(过去 30 天)
显示 更早的评论
I had created filter block in Simulink to implement different types of filter with different combination like filter type, filter order etc
When I select and apply parameter's filter It updates other fields e.g. if I select design domains frequency parameters related to time are disabled.
Once I apply changes block will initialize and will implement selected filter and works fine.
The problem is when I try to configure the block for new type I will not have old settings. All field will be enabled and I need to reconfigure to disable settings.
How I can hold the values of previous configuration and update block parameters accordingly?
![cap2.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/232905/cap2.png)
![cap1.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/232906/cap1.png)
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Author Block Masks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!