Why some functions does not open?

4 Ansichten (letzte 30 Tage)
Said BOUREZG
Said BOUREZG am 20 Apr. 2017
Kommentiert: Jan am 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 Kommentare
Stephen23
Stephen23 am 20 Apr. 2017
Bearbeitet: Stephen23 am 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 am 20 Apr. 2017
Thank you for the answer.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by