Error in running the code
조회 수: 1 (최근 30일)
이전 댓글 표시
Any one can help me
댓글 수: 5
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.
답변 (1개)
Jan
2023년 1월 30일
dlmread cannot handle the double quotes around the numbers. Use modern import functions instead, e.g. readmatrix(). The option 'TrimNonNumeric' might be useful.
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!