how to change the integrator initial conditions?
2 ビュー (過去 30 日間)
古いコメントを表示
In simulink I am using the integrator block. I know that the initial condition defaults to t=0. How would I change that so my initial condition starts at t=9?
0 件のコメント
回答 (1 件)
stozaki
2020 年 2 月 5 日
Hello,
ret = find_system(bdroot(gcs),'BlockType','Integrator')
for N = 1:length(ret)
set_param(ret{N},'InitialCondition','9')
end
Please try its script.
参考
カテゴリ
Help Center および File Exchange で General Applications についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!