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

19 ビュー (過去 30 日間)
Rotimi Agbebi
Rotimi Agbebi 2017 年 7 月 17 日
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 ?

回答 (0 件)

カテゴリ

Help Center および File ExchangeBlock and Blockset Authoring についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by