Is it possible to convert the whole Simulink model into a state space one?
조회 수: 2 (최근 30일)
이전 댓글 표시
Dear friends
In fact I am thinking of simulate a system, whose terminal information at t_k is known, and the information at t_0 is unknown. If I try to run Simulink model, it is prompted that since t_0 is smaller than the "initial time" t_k, simulation failed. So
(1) Is there a way to set the Simulink environment such that it can be simulated?
(2) If not, can I extract the state space model from the whole Simulink model such that ode45 or other solvers can be used to solve the problem?
Thanks
Dingyu
댓글 수: 0
답변 (1개)
Jesús Zambrano
2020년 2월 7일
Hi Dingyu,
You first have to create the input vector(s) to your model and collect the simulation results or output vector(s).
With this done, you can follow a standard procedure for state space identification, for example following the steps in this link https://www.mathworks.com/help/releases/R2019b/ident/ref/estimatestatespacemodel.html
Hope it can help with your question.
Best,
Jesús
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 General Applications에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!