Just out of curiosity I would like to know where the code for MATLAB parser is?

2 views (last 30 days)
Let say if i want to change the parser code of MATLAB, which file will i have to modify? (I know i won't be having permissions) But i still wanted to know where all the code of MATLAB parser is written?

Accepted Answer

Walter Roberson
Walter Roberson on 17 Aug 2012
If you are referring to the parser that handles the main MATLAB language, then that code is not written in MATLAB and it is not available to users.
However, routines such as are used to break out name/value pairs, or check for the correct number of arguments, might be available.
  3 Comments
Wayne King
Wayne King on 17 Aug 2012
I think that Walter answered that question. The code is not available at all. You cannot see it. And I'm not sure what you mean by you can see the code of built-in functions.
You cannot see the code of built-in functions like conv2() or fft()
Walter Roberson
Walter Roberson on 17 Aug 2012
Mathworks does not make their built-in routines available to users, only to employees and interns.
Though, as I have said before, a $US 2-Million non-refundable deposit will often get a company to the negotiation table to negotiate a price to see internal code.

Sign in to comment.

More Answers (1)

Sean de Wolski
Sean de Wolski on 17 Aug 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!