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 ?
댓글 수: 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!