Why mask doesnot hold the previously selected values

5 vues (au cours des 30 derniers jours)
Sameer Gadekar
Sameer Gadekar le 6 Août 2019
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

Réponses (1)

Sai Sri Pathuri
Sai Sri Pathuri le 9 Août 2019
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!

Catégories

En savoir plus sur Author Block Masks dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by