MATLAB: Too many output arguments
Afficher commentaires plus anciens
I'm fairly new to MATLAB but it seems to me that the following line should be correct:
[x,y,z] = [1,2,3]
Why am I getting a "Too many output arguments." error?
x,y,z are unused variables and I've even declared them each as zeros(1).
Thanks!
Réponse acceptée
Plus de réponses (1)
Azzi Abdelmalek
le 3 Oct 2014
x=1
y=2
z=3
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!