フィルターのクリア

Hi everyone, hopefully can you help me with my problem. I need to run my simulation for different "Driving cycles". Each one have a different duration. Ist there anyway to adapt the duration time according to the driving cycle?

1 回表示 (過去 30 日間)
sim('SA_Modell_ohne_Batt_diff_FZ')
for a=Fahrzyklus % Fahrzyklus come from a block in my Simulink project. if a==Fahrzyklus.NEFZ set_param('SA_Modell_ohne_Batt_diff_FZ','StopTime','1180'); elseif Fahrzyklus==Fahrzyklus.FTP75 set_param('SA_Modell_ohne_Batt_diff_FZ','StopTime','1874'); elseif Fahrzyklus==Fahrzyklus.WLTP set_param('SA_Modell_ohne_Batt_diff_FZ','StopTime','1800'); end end

回答 (1 件)

Soumya Saxena
Soumya Saxena 2018 年 1 月 30 日
Consider the following file exchange link:
Please note, that if you have further questions, please contact the author of the FEX submission directly.

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by