Effacer les filtres
Effacer les filtres

Is there a limit to number of output arguments while calling a function?

6 vues (au cours des 30 derniers jours)
Ashutosh
Ashutosh le 25 Août 2013
Commenté : Ankan Biswas le 21 Jan 2018
As I increased the number of output variables I get an error. Is there a solution to this?

Réponse acceptée

the cyclist
the cyclist le 25 Août 2013
Modifié(e) : the cyclist le 25 Août 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 commentaires
Daniel Shub
Daniel Shub le 25 Août 2013
I am now curious if there is an upper limit.
Ankan Biswas
Ankan Biswas le 21 Jan 2018
I think there is not. Need expert view on this.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by