Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
I am getting error while accessing data from cell and storing it in matrix..can anyone help?
조회 수: 1 (최근 30일)
이전 댓글 표시
The following error occurred converting from cell to double:
Error using double
Conversion to double from cell is not possible.
Error in readSTL1 (line 17)
coordinates(i,1) = C{1,1}(m,1);
댓글 수: 0
답변 (1개)
Azzi Abdelmalek
2013년 5월 21일
편집: Azzi Abdelmalek
2013년 5월 21일
Clear your variable then try again
clear coordinates
댓글 수: 2
Azzi Abdelmalek
2013년 5월 21일
편집: Azzi Abdelmalek
2013년 5월 21일
Instead if
coordinates = zeros(4455,1);
Use
coordinates = num2cell(zeros(4455,1));
Or just change c{1,1}{m} instead of c{1,1}(m)
coordinates(i) = C{1,1}{m}
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!