Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
I am getting error while accessing data from cell and storing it in matrix..can anyone help?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Azzi Abdelmalek
el 21 de Mayo de 2013
Editada: Azzi Abdelmalek
el 21 de Mayo de 2013
Clear your variable then try again
clear coordinates
2 comentarios
siddhesh rane
el 21 de Mayo de 2013
Editada: Azzi Abdelmalek
el 21 de Mayo de 2013
Azzi Abdelmalek
el 21 de Mayo de 2013
Editada: Azzi Abdelmalek
el 21 de Mayo de 2013
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}
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!