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 Exchange에서 Programming에 대해 자세히 알아보기

제품

태그

질문:

2012년 10월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by