Error using xlswrite (line 165) Dimension of input array cannot be higher than two.
Mostra commenti meno recenti
I load resvol.mat in Matlab. When I try to write V3f to excel xlswrite('u.xlsx',V3f); I get this error - Error using xlswrite (line 165) Dimension of input array cannot be higher than two. Could somebody please help?
Risposte (2)
Constantino Carlos Reyes-Aldasoro
il 20 Lug 2018
0 voti
I had a similar problem recently, I think (without knowing what your variables are) is that xlswrite can only handle matrices and cells with specific formats, so if you have a struct or a table it will not work. Check the data that you are saving to pinpoint the problem.
1 Commento
Pero Pajo
il 20 Lug 2018
Guillaume
il 20 Lug 2018
0 voti
The error is clear, xlswrite cannot write 3D arrays (such as your V3f array) since excel spreadsheet are 2D.
What would you expect xlswrite to do with a 3D arrays, what would it do with the 18 pages of your matrix?
Categorie
Scopri di più su Spreadsheets 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!