- [0 100] is the time span,
- [] - here you can put a option structure, which can modify simulation settings. You can change simulation setting by means of simset function,
- [0 20] this is the external input to the model.
Info
この質問は閉じられています。 編集または回答するには再度開いてください。
what does this simulink command mean ?
1 回表示 (過去 30 日間)
古いコメントを表示
I recently came across this command in an .m file
sim('kalmanfilter',[0 100],[],[0 20]);
it tries to run a simulink file "kalmanfilter" (located: http://www.mathworks.com/matlabcentral/fileexchange/18465-learning-the-kalman-filter-in-simulink-v2-1)
[0 100] is the time span of the simulation
[] ? i do not know what that is
[0 20] is the input to the model. I just do not know how simulink knows that [0 100] is the time-span or [0 20] is the input range. the help document does not help.
Thanks.
0 件のコメント
回答 (1 件)
Grzegorz Knor
2013 年 8 月 13 日
1 件のコメント
Kaustubha Govind
2013 年 8 月 13 日
pemfir: You are using the backwards-compatible (older) syntax of the SIM command. See documentation here.
この質問は閉じられています。
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!