Is it possible to convert the whole Simulink model into a state space one?
3 次查看(过去 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!