declaring inputs in a function ?
3 views (last 30 days)
Show older comments
hi, does the matlab function accept varying number of input arguments in the function declaration? if, so how to declare the function ?
for example:
function[output]= example1(in1,in2,in3,in4)
this same function example1 should work for
function[output]=example1(in1,in2)
thank you.
0 Comments
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!