Borrar filtros
Borrar filtros

Hiding the code in m file ?

12 visualizaciones (últimos 30 días)
Rajan
Rajan el 12 de Oct. de 2012
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.

Respuestas (2)

Walter Roberson
Walter Roberson el 12 de Oct. de 2012
pcode() the contents.

Sachin Ganjare
Sachin Ganjare el 12 de Oct. de 2012
Please refer below link:
This will provide way to hide your source code but still displaying comments for users of scripts.
Hope it helps!!!

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by