Effacer les filtres
Effacer les filtres

Matlab sim command gives different simulation result from Simulink play button

2 vues (au cours des 30 derniers jours)
Dave Lee
Dave Lee le 21 Sep 2019
Modifié(e) : Dave Lee le 21 Sep 2019
Hi,
My Simulink model is .mdl with Matlab 2015a. The model is in Accelerator mode. I realize that when I use Simulink play button, the simulation result is different from using sim command sim('model_name.mdl'); The result is not so significant, the simulation still follows the expected behavior but the numerical difference is noticeable.
I wonder anyone experienced this and if there is a solution.
Thanks,
Dave

Réponses (0)

Catégories

En savoir plus sur Programmatic Model Editing 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!

Translated by