MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1
4

npages =
2

Call mysize with too many outputs.

A = 1;
[fullsize,nrows,ncols,npages] = mysize(A)

Error using mysize (line 4)
Too many output arguments.

See Also
narginchk | nargoutchk

Related Examples



  • “Support Variable Number of Inputs” on page 21-4

  • “Support Variable Number of Outputs” on page 21-6


21 Function Arguments

Free download pdf