Info
この質問は閉じられています。 編集または回答するには再度開いてください。
what does this code do?
1 回表示 (過去 30 日間)
古いコメントを表示
p = 1;
while p<=15
i = strfind(puzzle(p,:),words);
if i>0
fprintf('row = %d\n',i)
fprintf('column = %d\n',p)
fprintf('direction = across (left to right)\n')
break
end
p = p+1;
0 件のコメント
回答 (1 件)
Walter Roberson
2015 年 11 月 30 日
That code would give you an error, because there is no 'end' to match the 'while'
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!