Access Simulink Solver in S-Function

1 次查看(过去 30 天)
Hello
How can I access the Simulink Solver(Integrator) and other Configuration Parameters (StepWidth, Starttime, Stoptime) within a s-function? So far I just found a solution using gcs but I hope theres another/better way.

采纳的回答

Christia
Christia 2014-3-10
To access the Simulink solver, you ve to set up the continus states and write the fucntion mdlDerivative. http://www.goddardconsulting.ca/simulink-sfunction-integrator.html

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by