フィルターのクリア

Simulink Discrete Filter Sample Time

37 ビュー (過去 30 日間)
Jan-Phillipp
Jan-Phillipp 2024 年 4 月 14 日
コメント済み: Qing 2024 年 6 月 10 日
Hello everybody I'm new here and new to simulink.
I have a problem
The Sample Time was "canceld" for the discrete Filter in the update 2023b.
At least the easy Set Up trough the Block Parameter, but I need it to initiated for the Task In Simu Link Fundamentals at step 4.5.
Does anyone know what i can do know? that would made my day.
Thank you
Best Regards
Jan

回答 (2 件)

Fangjun Jiang
Fangjun Jiang 2024 年 4 月 14 日
See the note on this page.
To set it in command line
set_param('BlockPath','SampleTime','0.1')
R2023b: Conditional display of the Sample time parameter
The Discrete Filter block no longer displays the Sample time parameter in the block parameters dialog box by default. The parameter is visible only if you set the sample time to a value other the default value (-1) at the command line or in an existing model. For more information, see Blocks for Which Sample Time Is Not Recommended.

Jose
Jose 2024 年 5 月 2 日
if the before answer can't solve your problem, do the next steps.
1) Right click on the Discrete Filter
2)Search the "Find Referenced Variables" option
3)Select "SimulinksFundamentales"
Now you can edit the parameter sample Time of the row Discrete Filter.
If in the beginning don't appear, do click on "show details". Then search the sample time option.
  1 件のコメント
Qing
Qing 2024 年 6 月 10 日
I have the same question. Thanks for the answer. It works now.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeEvent Functions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by