how to use index in Simulink?

1 次查看(过去 30 天)
saeid k
saeid k 2017-9-5
编辑: KL 2017-9-5
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.

回答(1 个)

KL
KL 2017-9-5
编辑:KL 2017-9-5
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.

类别

Help CenterFile Exchange 中查找有关 Simulink Environment Customization 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by