how to implement Ode15s with option (odeset) in simulink
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Ordinary Differential Equations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!