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.

Antworten (2)

Walter Roberson
Walter Roberson am 12 Okt. 2012

0 Stimmen

pcode() the contents.
Sachin Ganjare
Sachin Ganjare am 12 Okt. 2012

0 Stimmen

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

Kategorien

Mehr zu Programming finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 12 Okt. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by