Error in running the code
古いコメントを表示

Any one can help me
5 件のコメント
John D'Errico
2023 年 1 月 30 日
If you want help, you need to show what you are doing. Tell us what is your question about MATLAB? Instead of just pleading that you have a general problem and need help.
So show your code. Show what error you got, or why you think there is a problem in that code i it does not generate an error. If it does generte an error, then show the complete error message, thus everything in red.
Ao Mohamed
2023 年 1 月 30 日
John D'Errico
2023 年 1 月 30 日
Now that you have actually shown some code, there is still a problem. The error message tells us that your file is not what you think it contains. But we have no idea what the file truly does contain.
Finally, you need to understand that posting a PICTURE of your code is not useful. That forces someone who might help you to ttype in your code from the screen.
Is there a good reason why you want to make it more difficult to get help? Paste in the actual code. Attach the file so that someone can understand what is inside the file that you could not read.
Ao Mohamed
2023 年 1 月 30 日
回答 (1 件)
Jan
2023 年 1 月 30 日
0 投票
dlmread cannot handle the double quotes around the numbers. Use modern import functions instead, e.g. readmatrix(). The option 'TrimNonNumeric' might be useful.
カテゴリ
ヘルプ センター および File Exchange で Creating, Deleting, and Querying Graphics Objects についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
