- #1
eurekameh
- 210
- 0
I'm having trouble getting two outputs. Here's a simple example:
function [a b] = test2()
a = 2;
b = 5;
When I run the code, I only get the output of a = 2:
>>test2
ans =
2
How can I get b outted as well?
function [a b] = test2()
a = 2;
b = 5;
When I run the code, I only get the output of a = 2:
>>test2
ans =
2
How can I get b outted as well?