Info

この質問は閉じられています。 編集または回答するには再度開いてください。

errors in matlab gui

1 回表示 (過去 30 日間)
Fatima prv
Fatima prv 2012 年 7 月 15 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
What mean this error?
??? Subscript indices must either be real positive integers or logicals.
Error in ==> b1>pushbutton1_Callback at 102 A(x,y)=B(x,y)

回答 (1 件)

Walter Roberson
Walter Roberson 2012 年 7 月 15 日
It means that one of the values in x or y is 0, or negative, or has a fractional component and is not exactly an integral value.
Note that if you computed x or y, then you might have suffered from round-off. See http://matlab.wikia.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_.28or_similar.29_not_equal_to_zero.3F

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by