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