How to give two inputs to a state space system in simulink?

108 views (last 30 days)
Hallo Everyone
I have quite a simple doubt, but one that has been bugging me for quite a while. As the question states, I am not able to connect two step signals to a state space system in simulink block which has an A matrix of 4 by 4 size and so on. I tried connecting InPort. But I think I am not quite clear how it works. Any kind of suggestion or links would help.
Thanks a lot in advance.

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 2 Aug 2013
Pass you two step signals through a Mux block
  9 Comments
Azzi Abdelmalek
Azzi Abdelmalek on 5 Aug 2013
For multiplication you can use a product block, but do not forget to change the parameters (in product block) from Element wise to Matrix
nl2605
nl2605 on 5 Aug 2013
I tried using the product block. I think it didn't work for the reason you mentioned. Thanks.

Sign in to comment.

More Answers (1)

Muhammad Adeel Ahsan Awan
You can also use Vector concenate block to pass two inputs.

Community Treasure Hunt

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

Start Hunting!