- what are the sizes of your SS matrix A B C and D
How to use state-space block in simulink with one input
4 views (last 30 days)
Show older comments
Beenish Mazhar
on 1 Sep 2012
Commented: Cheetamun Koshal
on 25 Jun 2016
Hi I am using state-space block in simulink. I am having two inputs;so I have used a mux but state-space block is not accepting it because input becomes a row vector and I need a scalar value as an input to the state-space block. What should I do to make it a scalar value. Any guidance or help will be greatly appreciated.
2 Comments
Azzi Abdelmalek
on 1 Sep 2012
Edited: Azzi Abdelmalek
on 1 Sep 2012
Cheetamun Koshal
on 25 Jun 2016
Actually the input should be in column vector form. Try to transpose the row vector. And also the size of the matrix A, B ,C and D are important so that the system works
Accepted Answer
Azzi Abdelmalek
on 1 Sep 2012
you have said that you have two inputs, then i can guess that the size of B is nx2, n is the order of your system. in this case, you can use a "Mux" block
0 Comments
More Answers (1)
See Also
Categories
Find more on General Applications in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!