필터 지우기
필터 지우기

Simulink ignores the first value

조회 수: 3 (최근 30일)
Alexander Guillen
Alexander Guillen 2023년 4월 5일
댓글: Walter Roberson 2023년 4월 5일
I would like to display all the elements of an array I created in the workspace into the display block in simulink , but the first element does not show up. How can I fix that?

답변 (1개)

Alexander Guillen
Alexander Guillen 2023년 4월 5일
I figured it out. If anyone wants to know - just use a constant block instead of "from workspace" block. I dont know why this is like that but it is.
  댓글 수: 1
Walter Roberson
Walter Roberson 2023년 4월 5일
When you use From Workspace, then the first column of the array (or vector) is treated as being the time that the sample is to be presented to the model.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by