Matlab sim command gives different simulation result from Simulink play button

2 ビュー (過去 30 日間)
Dave Lee
Dave Lee 2019 年 9 月 21 日
編集済み: Dave Lee 2019 年 9 月 21 日
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

回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by