anthropos Posted November 10, 2009 Posted November 10, 2009 The MATLAB website states that "the number of arguments is negative if the function has a variable number of arguments" when I use nargin to test such functions. So when I enter nargout ode45, I get -5. But why is the absolute value 5, does that mean it's the maximum number of outputs that ode45 can release? It is not a random number because I keep getting the same result after typing in. Does anyone know why this is happening? Thank you
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now