Closed nipunbatra closed 7 years ago
Hello @nipunbatra, are you conscious of the fact that the function name you want to call is demoSum.m
and that the function you are calling using mlab.run_func
is called demo_sum.m
?
The error Not enough input arguments
might just have put you on the wrong track.
@arokem, I think this issue can be closed.
Hi I'm trying to call a very simple function called
demoSum.M
Calling it as follows says that
Not enough input arguments
.Calling as follows also doesn't work.
Am I missing something really trivial. I have noted that in your examples you have made use of
args
and then extracting the variables fromargs
. I thought that this was the only way possible till I stumbled upon this issue, where the function call wasmlab.run_func('multiply_them.m', dummy1, dummy2, dummy3, nargout=1)