how to import matrices from workspace to simulink block?

조회 수: 4 (최근 30일)
bassam massouh
bassam massouh 2014년 8월 31일
댓글: Christopher Davidson 2019년 10월 4일
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 CenterFile Exchange에서 General Applications에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by