Filter löschen
Filter löschen

how to use index in Simulink?

1 Ansicht (letzte 30 Tage)
saeid k
saeid k am 5 Sep. 2017
Bearbeitet: KL am 5 Sep. 2017
Hi everybody. I want to use data related to the consecutive times of a vector in simulink, which was initialized in workspace previously. simulink should be executed at once and all data should be used. how can I consider the time as index in simulink? thank you.

Antworten (1)

KL
KL am 5 Sep. 2017
Bearbeitet: KL am 5 Sep. 2017
If the timestep is same as your simulink model, just create a two dimensional matrix in the workspace and it should work. You could also create a timeseries object or a structure. It's simple.

Kategorien

Mehr zu Simulink Environment Customization finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by