Changing from char variable to another input
이전 댓글 표시
Forgive my naivity on this one. How can I change a 1x47004 char to a matrix which has letters/words in some cells and numbers in the rest? At present I have the following 6x6 cell.
1x47004 char [] [] [] [] []
1x45843 char [] [] [] [] []
1x46992 char [] [] [] [] []
1x46432 char [] [] [] [] []
1x46459 char [] [] [] [] []
1x48191 char [] [] [] [] []
댓글 수: 5
dpb
2019년 10월 8일
Attach a .mat file with the cell content or show a short section of what you have and what you're trying to get...
Jake Bowd
2019년 10월 8일
Jake Bowd
2019년 10월 8일
dpb
2019년 10월 8일
OK, you're trying to read some custom format it appears.
Attach a section of one of the underlying .mot files so we can see what you're actually starting from.
The conversion from the .mat file is trying to fixup after a mess; better by far to avoid the mess in the first place instead.
Image Analyst
2019년 10월 8일
What is a .mot file? Is it the same as a .mat file? Did you create it with the save() function?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Text Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!