Why some functions does not open?

5 views (last 30 days)
Said BOUREZG
Said BOUREZG on 20 Apr 2017
Commented: Jan on 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 Comments
Stephen23
Stephen23 on 20 Apr 2017
Edited: Stephen23 on 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 on 20 Apr 2017
Thank you for the answer.

Sign in to comment.

Accepted Answer

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

Sign in to comment.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!