how to change the integrator initial conditions?
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
stozaki
le 5 Fév 2020
Hello,
ret = find_system(bdroot(gcs),'BlockType','Integrator')
for N = 1:length(ret)
set_param(ret{N},'InitialCondition','9')
end
Please try its script.
2 commentaires
stozaki
le 8 Fév 2020
I attached initialize Function model.
Please see initialize Function
Voir également
Catégories
En savoir plus sur Dependency Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!