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

11 次查看(过去 30 天)
As I increased the number of output variables I get an error. Is there a solution to this?

采纳的回答

the cyclist
the cyclist 2013-8-25
编辑:the cyclist 2013-8-25
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by