I am not sure what the following error message indicates or how to resolve it: 'Error using double Conversion to double from cell is not possible.'
Mostra commenti meno recenti
How might I address this error?
Error using double Conversion to double from cell is not possible.
The associated line of code is simply: (mat1)=double(mat2);
Risposta accettata
Più risposte (1)
Please take the time to read the error message again:
Conversion to double from cell is not possible.
This means, it is hard to express it in other words, that your code tries to convert a cell to a double, and this is not possible. Matlab's error messages are the best I've ever seen.
But as Wayne has explained already, you can convert the elements of a cell to a double array.
1 Commento
Matt Fig
il 23 Ott 2012
It is hard to express it in other words and maybe impossible to express it in better words...
Categorie
Scopri di più su Multidimensional Arrays in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!