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
Access Simulink Solver in S-Function
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Christia
el 28 de En. de 2014
Respondida: Christia
el 10 de Mzo. de 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.
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Prepare Model Inputs and Outputs en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!