How to I find steady state initial conditions of states in a Level 2 S function

1 Ansicht (letzte 30 Tage)
function InitConditions(block) % Function initializes the 14 states of the system s0 = init_values; block.ContStates.Data = s0;
I have a vector of initial guess of the state values read in from a vector, how do i find consistent initial condition for steady state run of the simulink block. For example the use of fsolve in simulink sfunction block, is it possible? and if possible can someone help ?

Antworten (0)

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by