Why does my Simulink model become unresponsive when editing a Bandpass Filter block?

조회 수: 4 (최근 30일)
I have created a Bandpass Filter and set the block parameters as follows (example):
Frequency units: Hz
Input sample rate: 44100
Stopband freq 1: 60
Passband freq 1: 80
Passband freq 1: 100
Stopband freq 1: 120
The configuration window becomes unresponsive after I click 'Apply changes'. It cannot be closed and MATLAB cannot exit.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2018년 3월 26일
This issue has been seen before. Certain block parameters cause the Bandpass block to perform lengthy computations, resulting in the Simulink model becoming unresponsive. Generally, after several minutes, the block parameters window closes and the model will become usable once again.
Currently, there are a few options for you to consider as workarounds:
1) Replace the Bandpass block with a high-pass and a low pass-filter connected in series, which should produce the desired behavior. This seems to be the best option at the moment. If you wish to make this combination of blocks look and function like a single block with editable parameters, consider creating a mask (<http://www.mathworks.com/help/simulink/block-masks.html>).
2) Simply wait long enough for the bandpass block computations to finish. This would likely be impractical if you have multiple instances of the block or are re-compiling the model frequently.
3) Consider changing the block parameters used to set up your band-pass filter. Whether this is feasible or not depends upon the application.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Single-Rate Filters에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by