Hiding the code in m file ?

3 次查看(过去 30 天)
Rajan
Rajan 2012-10-12
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.

回答(2 个)

Walter Roberson
Walter Roberson 2012-10-12
pcode() the contents.

Sachin Ganjare
Sachin Ganjare 2012-10-12
Please refer below link:
This will provide way to hide your source code but still displaying comments for users of scripts.
Hope it helps!!!

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by