Azzera filtri
Azzera filtri

Access Simulink Solver in S-Function

1 visualizzazione (ultimi 30 giorni)
Christia
Christia il 28 Gen 2014
Risposto: Christia il 10 Mar 2014
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.

Risposta accettata

Christia
Christia il 10 Mar 2014
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

Più risposte (0)

Categorie

Scopri di più su Prepare Model Inputs and Outputs in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by