Why some functions does not open?

5 vues (au cours des 30 derniers jours)
Said BOUREZG
Said BOUREZG le 20 Avr 2017
Commenté : Jan le 24 Avr 2017
Some Matlab toolbox functions doesn't open, we only get their explanation like some functions:
>> open cummin
>> open cummax
>> open min
...
  2 commentaires
Stephen23
Stephen23 le 20 Avr 2017
Modifié(e) : Stephen23 le 20 Avr 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 le 20 Avr 2017
Thank you for the answer.

Connectez-vous pour commenter.

Réponse acceptée

Jan
Jan le 20 Avr 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 commentaires
Said BOUREZG
Said BOUREZG le 20 Avr 2017
Thank you for the answer, and about the purpose, it's just a curiosity.
Jan
Jan le 24 Avr 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by