Variable in a simulink state space matrix

조회 수: 2 (최근 30일)
Sugs
Sugs 2019년 4월 20일
편집: Walter Roberson 2019년 4월 23일
How can I implement a matrix in a state space model in simulink that has a variable that is dependent on another component of the model signal such as an angle etc?
I have tried sending the signal to the workspace and calling in the matrix with a variable (of the same name) in it and it does not work.
Thank you.
  댓글 수: 8
Walter Roberson
Walter Roberson 2019년 4월 22일
편집: Walter Roberson 2019년 4월 23일
Tunable models in Simulink correspond to ss() with a genmat() parameter, or to genss() .
When you have a tunable model, then at any one time each parameter has a distinct value, but you can change the parameter and the effect will be reflected on the model blocks. This differs from creating something like a symbolic representation with a variable name and using laplace transform and so on, in that for symbolic representations the calculation is generalized and the variable does not have a value until later, if ever. The MATLAB tools for symbolic control systems are mostly missing.
Sugs
Sugs 2019년 4월 23일
@Walter Robertson Thank you for the information and the link. I will be looking more into it tomorrow.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 General Applications에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by