Is there a limit to number of output arguments while calling a function?
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Ashutosh
el 25 de Ag. de 2013
Comentada: Ankan Biswas
el 21 de En. de 2018
As I increased the number of output variables I get an error. Is there a solution to this?
0 comentarios
Respuesta aceptada
the cyclist
el 25 de Ag. de 2013
Editada: the cyclist
el 25 de Ag. de 2013
When you called the function, you have 6 output variables in the list, but inside the function itself you only list 5 output variables. That is the source of the error, not that you have too many in general. There needs to be a one-to-one correspondence in those two lists.
3 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Logical 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!