Hiding the code in m file ?
Show older comments
I would like to hide all the contents of the m file except for the description(Comments at the beginning of the file.). So I can give my file to others to use . How can I achieve this ?
Thanks in advance.
Answers (2)
Walter Roberson
on 12 Oct 2012
0 votes
pcode() the contents.
Sachin Ganjare
on 12 Oct 2012
0 votes
Please refer below link:
This will provide way to hide your source code but still displaying comments for users of scripts.
Hope it helps!!!
Categories
Find more on Programming in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!