Unit Delay Block using Matlab Function Block in Simulink

1 回表示 (過去 30 日間)
Conner Garcia
Conner Garcia 2021 年 5 月 31 日
コメント済み: Conner Garcia 2021 年 6 月 1 日
I would like to replace the unit delay block in simulink with a matlab function block. However, I don't know what to write for the code inside the matlab fcn block to be able to get the exact same results as the unit delay block. Any help on this?

回答 (1 件)

Walter Roberson
Walter Roberson 2021 年 5 月 31 日
I do not think that is possible using a MATLAB Function Block. I think you would have to use a Level-2 S Block (potentially implemented in MATLAB.)
  1 件のコメント
Conner Garcia
Conner Garcia 2021 年 6 月 1 日
thank you Mr.Roberson for your quick reply. I will try to figure another way.

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

カテゴリ

Help Center および File ExchangeInteractive Model Editing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by