You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 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?
The text was updated successfully, but these errors were encountered:
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?The text was updated successfully, but these errors were encountered: