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

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

Walter Roberson
Walter Roberson il 17 Ago 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 Commenti
Wayne King
Wayne King il 17 Ago 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 il 17 Ago 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.

Accedi per commentare.

Più risposte (1)

Sean de Wolski
Sean de Wolski il 17 Ago 2012

Community Treasure Hunt

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

Start Hunting!

Translated by