필터 지우기
필터 지우기

BlockIO output set to zero when multiple blocks are used

조회 수: 3 (최근 30일)
Aaron Troll
Aaron Troll 2024년 5월 7일
There seems to be simulatin issues when using multiple Blocks form IO Device Builder app. Some outputs seem to always be zero in some cases.
I could narrow down the error a little bit but as far as I know the error occurs:
  • when using multiple blocks (of one or different sensors)
  • on blocks that have more than one output
  • on the outputs that are the furthest down (lower right corner) on the block regardless on when the output is changed in the code
  • delay() in the code does not fix the issue
  • other code blocks that are executed in between the BlockIO dont fix the issue
  • Commenting out the other blocks and just simulating one BlockIO individually fixes the issue
  • Using one Output per Block fixes the issue.
Is there something I am doing wrong? I would like to avoid having to create 6 blocks just to read IMU data.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Schedule Model Components에 대해 자세히 알아보기

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by