Hiding the code in m file ?

2 ビュー (過去 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 Center および File ExchangeProgramming についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by