Why mask doesnot hold the previously selected values

5 次查看(过去 30 天)
I had created a filter block as shown in following figure. I set the filter parameter as per my requirement to implemet diffrent filters accoding to fillter types and order and design domain.All other fields are updated accordingly. e.g. if i select to design filter in time domain then Frequency (Hz) and BandWidth (Hz) parameters are disabled automatically.
After applying parameters and saving model if I reopen block my old selection will go in reset and I need to configure new setting.
can anyone suggest me how to hold the previous selections even if i reopen block previous fields should hold its values ?
cap2.PNG
cap1.PNG

回答(1 个)

Sai Sri Pathuri
Sai Sri Pathuri 2019-8-9
The issue may be because of Never save attribute of the parameter in the Mask Editor. When this option is checked/selected, the parameter value never gets saved in the model file. This is the reason of reset of parameters when reopened after saving and closing.
Uncheck the Never Save attribute by right clicking on filter block and selecting
Mask > Edit Mask > Parameters & Dialog
Then click on each parameter and uncheck Never Save attribute under Property Editor.
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 Author Block Masks 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by