A ramp block going backwards?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hey people!
I am using a ramp block in Simulink driven into an m-function. I am checking the signal every time the m-function is executed and sometimes the ramp value is decreasing.
How can be this possible?
Many thanks.
2 commentaires
Réponse acceptée
Guy Rouleau
le 2 Mai 2014
You are probably using a variable step solver. Variable step solvers often need to take steps backward to ensure they respect the specified tolerance.
0 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!