Azzera filtri
Azzera filtri

Set initial conditions for S-function

4 visualizzazioni (ultimi 30 giorni)
CaG
CaG il 2 Dic 2015
Risposto: Rutuja Shirali il 7 Dic 2015
Hello. I'm doing an attitude control project in Simulink and I'd like to implement initial conditions automatically in an S-function block, using some parameter I give to the system. Is there a way to do that?
Thank you very much.
Ca

Risposte (1)

Rutuja Shirali
Rutuja Shirali il 7 Dic 2015
Hello CaG,
I assume that you have a system which is represented using a S-function block and you want to initialize the states in that system using the S-function. You can do this using the "mdlInitializeConditions" more information about this can be found here:
Moreover if you have a LTI system, you can use the LTI block do the same.
-Rutuja

Categorie

Scopri di più su Block and Blockset Authoring 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