The Mathworks page for an example makesqr.m shows a 1-argument function
% makesqr.m%----------function y = makesqr(x)y = magic(x);
This gets generated into a Java package. However, the `step 16` of the Java invoker shows `makesqr` with *two* arguments.
result = theMagic.makesqr(1, n);
Can anyone please explain this difference in the number of arguments?