Why mask doesnot hold the previously selected values
4 ビュー (過去 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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/232903/cap2.png)
![cap1.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/232904/cap1.png)
0 件のコメント
回答 (1 件)
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!
0 件のコメント
参考
カテゴリ
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!