MATLAB: Too many output arguments
Ältere Kommentare anzeigen
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!
Akzeptierte Antwort
Weitere Antworten (1)
Azzi Abdelmalek
am 3 Okt. 2014
x=1
y=2
z=3
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!