Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

what does this simulink command mean ?

1 Ansicht (letzte 30 Tage)
pemfir
pemfir am 13 Aug. 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I recently came across this command in an .m file
sim('kalmanfilter',[0 100],[],[0 20]);
[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.

Antworten (1)

Grzegorz Knor
Grzegorz Knor am 13 Aug. 2013
  • [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.
  1 Kommentar
Kaustubha Govind
Kaustubha Govind am 13 Aug. 2013
pemfir: You are using the backwards-compatible (older) syntax of the SIM command. See documentation here.

Diese Frage ist geschlossen.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by