필터 지우기
필터 지우기

Index in position 1 exceeds array bounds

조회 수: 1 (최근 30일)
Erwin
Erwin 2023년 11월 21일
답변: Walter Roberson 2023년 11월 26일
I dont know where's the error in my block diagram. It always say that may index in position 1 exceeds array bounds. I dont know how to solve this. Please help me. Thank you
  댓글 수: 1
madhan ravi
madhan ravi 2023년 11월 25일
Post the picture of the diagnostics error message along with the block it"S caused from.

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

답변 (1개)

Walter Roberson
Walter Roberson 2023년 11월 26일
Your turbine "Wind speed (m/s)" signal is fed from the port labeled (1) . There are a couple of signal splits that could potentially be providing input.
(1)---+---> %LINE A
|
--------+ %LINE B
|
|________ %LINE C
The right of the one I have marked Line A is one-way into the Turbine Wind Speed (m/s) signal, so it cannot be a signal source.
If you follow the one I marked as Line B left it feeds into the Pitch Angle Controller1 as the input signal Wind Speed, and so cannot be a signal source either.
If you follow the bottom line I have marked as Line C then you ca nsee it proceeds over to the upper-right scope as an input there. Therefore that branch cannot be a signal source either.
That leaves just the port (1) as the signal source. And in turn that means you cannot run the model without having some other model providing data onto port (1).

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by