Why some functions does not open?

1 visualizzazione (ultimi 30 giorni)
Said BOUREZG
Said BOUREZG il 20 Apr 2017
Commentato: Jan il 24 Apr 2017
Some Matlab toolbox functions doesn't open, we only get their explanation like some functions:
>> open cummin
>> open cummax
>> open min
...
  2 Commenti
Stephen23
Stephen23 il 20 Apr 2017
Modificato: Stephen23 il 20 Apr 2017
@Said BOUREZG: who said that they have to open? Where is it written that every function must be able to be opened ?
No compiled function will open in the editor. This is the expected behavior.
Said BOUREZG
Said BOUREZG il 20 Apr 2017
Thank you for the answer.

Accedi per commentare.

Risposta accettata

Jan
Jan il 20 Apr 2017
The functions cannot be "opened", because they are compiled. Some functions of Matlab's toolboxes are shipped as M-files, some are "built-in". Then only the documentation in the help section is visible for the users.
What is the purpose of "opening" the code of min?
  2 Commenti
Said BOUREZG
Said BOUREZG il 20 Apr 2017
Thank you for the answer, and about the purpose, it's just a curiosity.
Jan
Jan il 24 Apr 2017
Matlab's license condition, which have been accepted by all users, forbid a reverse engineering. Therefore digging in the code must be limited. Even if this answer would contain the hint, that digging in the code would be possible at all, might be illegal.
But if you are really curios, try to contact the author. They are scientists also and under certain conditions they are interested in discussions.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by