Using Deval with Simulink Output

조회 수: 1 (최근 30일)
Jason Nicholson
Jason Nicholson 2015년 5월 12일
편집: Jason Nicholson 2018년 3월 21일
Is there a way to use deval with the output from simulink. deval works fine with a solution structure from the ODE integrators. However, I am looking for something similar that relates to simulink. Thoughts?

채택된 답변

Jason Nicholson
Jason Nicholson 2018년 3월 21일
편집: Jason Nicholson 2018년 3월 21일
No, there is not an obvious way to use Deval with Simulink output. However, you can use "Configuration Parameters"-->"Data Import/Export" to do the similar things that you can do with Deval. For instance, the "refine factor" allows a smoother output without reducing the step size or restricting the solver step size. Polynomial interpolation is used to interpolate in between time steps. The polynomial interpolation has the same order of accuracy as the solver. You can also request output at specific times with "produce additional output" or "Produce specificied output only" as shown below.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by