Too many output arguments error
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Samuel Vadovic
el 2 de Nov. de 2023
Comentada: Voss
el 2 de Nov. de 2023
A = magic(5);
B = writematrix(A, 'M.xls');
command window:
Error using writematrix
Too many output arguments.
Error in faf (line 2)
B = writematrix(A, 'M.xls');
Respuesta aceptada
Voss
el 2 de Nov. de 2023
writematrix doesn't return any outputs.
Just say:
writematrix(A, 'M.xls')
What do you intend to be stored in B?
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Characters and Strings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!