How to report an identified bug in MATLAB?
3 ビュー (過去 30 日間)
古いコメントを表示
Hi All,
I've faced a bug in MATLAB and want to report it, so that it can be solved in next update.
Can anyone let me know how can I do it?
Bests,
Saeed
0 件のコメント
採用された回答
Image Analyst
2018 年 7 月 8 日
Not a bug. Unlike a regular line of code, when you start an array you don't need ... (triple dots) to continue the line. For example, this is a perfectly fine definition of an array:
m= [1,2,3
4,5,6
7,8,9]
Note - no triple dot line continuation indicator. So when you started an array with [0 0.4 MATLAB went to the following line to try to continue the array. Now you didn't show what the line following that is, but whatever it is, it couldn't make a sensible array out of it. So it was trying to assign a bunch of stuff to an array (the stuff defined by in between square brackets) and whatever stuff you had until the next square bracket didn't qualify as something valid for assigning to a matrix, hence the error you got.
0 件のコメント
その他の回答 (4 件)
Guillaume
2018 年 7 月 8 日
As specified you need an active software maintenance subscription. Otherwise report the bug here, and we'll pass it on.
0 件のコメント
Saeed Mohammadian
2018 年 7 月 8 日
1 件のコメント
Image Analyst
2018 年 7 月 8 日
編集済み: Image Analyst
2018 年 7 月 8 日
A lot of times we get errors that don't quite seem right. In those cases you usually look also to lines below and especially above the line of code the error mentioned. Many times the actual error is caused by the line above because it was not quite valid and it's trying to combine the good line below with the bad line above into a valid syntax statement and that was not possible due to the nature of the mistake. So you look at the line it told you and it looks fine to you but what you don't realize is that the line above is bad. This happens a lot so keep an eye out for it.
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!