how to implement Ode15s with option (odeset) in simulink
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
using ode15s with option which usese event to terminate the solver in simulink gives error :
An error occurred while running the simulation and the simulation was terminated
Caused by:
- The first input to exist must be a string scalar or character vector.
my code in simulink function is :
options = odeset('Events',[value_ejection,isterminal_ejection,direction_ejection]);
dvdt_ejection = [dve_lvdt ; dve_rvdt ;dve_pudt ; dve_padt; dve_aodt ; dve_vcdt ; dQe_avdt; dQe_pvdt; dQe_mtdt ; dQe_tcdt];
[t_e,v_e,TE_e,VE_e] = ode15s(dvdt_ejection,tspan,v0,options);
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Ordinary Differential Equations 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!