# nargoutTest.jl
function nargoutTest(a,b)
@show a, b
return "outp1", "outpTWO"
end
Then run the following in matlab
>> jl.include('nargoutTest.jl')
>> jlout = jl.call('nargoutTest',6,7)
(a, b) = (6.0, 7.0)
jlout =
struct with fields:
outp1: 'outpTWO'
The resulting struct has one field, where field-name = "outp1" and field-value = "outputTWO". It seems like it should be a cell array instead of a struct. Is this intended behavior?
If you put the following in nargoutTest.jl
Then run the following in matlab
The resulting struct has one field, where field-name =
"outp1"
and field-value ="outputTWO"
. It seems like it should be a cell array instead of a struct. Is this intended behavior?