MATLAB Answers

What is the input of the function trim('sys')?

19 views (last 30 days)
How do i use the function trim('sys')?
I have 4 Matrices A,B,C,D like in the example from mathworks.
But how can I input them? What is 'sys'?
I googled a lot but i didn't found out what 'sys' is.
I already tried to create a System with sys = ss(A,B,C,D);

Accepted Answer

Titus Edelhofer
Titus Edelhofer on 27 Jan 2021
sys is the name of a Simulink model
The doc says "Consider a linear state-space system modeled using a State-Space block". So sys would be:
  • create new Simulink model
  • add State-Space block
  • feed the 4 matrices
  • and then call trim
Titus

More Answers (0)

Community Treasure Hunt

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

Start Hunting!