The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Why I cannot find function ParseInputs?
Replies: 6   Last Post: Sep 25, 2013 12:58 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Steven Lord

Posts: 18,038
Registered: 12/7/04
Re: Why I cannot find function ParseInputs?
Posted: Sep 25, 2013 12:58 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Devraj Mandal" <> wrote in message


> Please can anyone tell me what is the use of this subfunction ?

Usually, from the name, it's intended to parse the input arguments to the
main function.

> Can I just delete it ? I am using del2 function and found this sub
> function so I had this query.

No you SHOULD NOT just delete it for two reasons.

1) In general, you should not modify functions that are part of MATLAB or
toolboxes created by MathWorks. Doing so could easily cause them to return
the wrong answer, to throw errors, or to misbehave in subtle or
not-so-subtle ways. If you MUST modify functions in MATLAB or a toolbox, it
would be a little safer to make a copy under a new name in a directory
outside $MATLABROOT/toolbox and modify that copy.

2) Removing a subfunction from a function "just because" would be like your
doctor removing one of your internal organs "just because."

Steve Lord
To contact Technical Support use the Contact Us link on

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.