필터 지우기
필터 지우기

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