필터 지우기
필터 지우기

Why mask doesnot hold the previously selected values

조회 수: 4 (최근 30일)
Sameer Gadekar
Sameer Gadekar 2019년 8월 6일
답변: Sai Sri Pathuri 2019년 8월 9일
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