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!