Discussion Overview
The discussion revolves around a user experiencing issues with obtaining multiple outputs from a MATLAB function. The focus is on the syntax and method of calling the function to retrieve both outputs.
Discussion Character
Main Points Raised
- One participant describes their function and notes that only one output is being returned when they expect two.
- Another participant suggests using a comma between the outputs in the function call.
- A subsequent reply indicates that using a comma did not resolve the issue.
- A later reply clarifies that the function should be called with the syntax [apple, orange] = test2() to correctly retrieve both outputs.
Areas of Agreement / Disagreement
Participants have not reached a consensus on the solution, as there are conflicting suggestions regarding the correct syntax for obtaining multiple outputs.
Contextual Notes
There may be missing assumptions about the function's definition or the context in which it is being called, which could affect the outputs.