Access Simulink Solver in S-Function

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 日

0 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangeGeneral Applications についてさらに検索

製品

質問済み:

2014 年 1 月 28 日

回答済み:

2014 年 3 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by