how to import matrices from workspace to simulink block?

1 回表示 (過去 30 日間)
bassam massouh
bassam massouh 2014 年 8 月 31 日
i want to import state space matrices from worksapce to state space block in simulink plz help regards.

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 8 月 31 日
You have not to import them, If your matrices are A,B,C and D, just set the SS block parameters to A, B, C and D
  2 件のコメント
Tong Zhao
Tong Zhao 2016 年 8 月 31 日
For those who's confused, first use your workspace commands to create four matrices A,B,C,D. Then go into your Simulink model, and double-click to open your State-Space block, then under the field of parameter A, just type A again, then under B, type B again, and so on. Done.
Christopher Davidson
Christopher Davidson 2019 年 10 月 4 日
Doesn't work for me. I get the error: "Invalid setting in "ABCD/Descriptor State-space' for parameter 'A' "

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGeneral Applications についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by