Replacing specific block with subsystems

1 ビュー (過去 30 日間)
Anubhav Routray
Anubhav Routray 2023 年 1 月 24 日
コメント済み: Anubhav Routray 2023 年 3 月 13 日
I want to replace all the 'Memoey ' blocks in a model with a subsystem which would have the functionality of 'Memory' block. But the initial condition to the 'Memory' block should be passed from From workspace block as the initial conditions are changed frequently. I have the initial conditions stored in an array. Any help is appreciated. I am using MATLAB 2020a

採用された回答

Benjamin Thompson
Benjamin Thompson 2023 年 1 月 24 日
Here is one way. I think you would just use a constant block rather than From Workspace because From Workspace is looking to use a time sampled array or table, something like that.
  5 件のコメント
Anubhav Routray
Anubhav Routray 2023 年 3 月 13 日
Hi.
Could you please also suggest such a subsystem which would have the functionality of a 'Unit Delay' block?
Thanks

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

その他の回答 (0 件)

カテゴリ

Find more on Subsystems in Help Center and File Exchange

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by