Hiding the code in m file ?

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 日

0 投票

pcode() the contents.
Sachin Ganjare
Sachin Ganjare 2012 年 10 月 12 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeProgramming についてさらに検索

製品

タグ

質問済み:

2012 年 10 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by