Hi!
I have a .m script that starts with some commented lines; the first 5 lines contain an header which must be present at the beginning of the file and the following lines are the "real script help". I would like that only the "real script help" appears when the user runs help my_script.m .
How can I exclude those first 5 lines?
Thanks
Ivan

답변 (1개)

Walter Roberson
Walter Roberson 2022년 3월 15일

1 개 추천

You cannot do that, except by supplying your own help function (that would interfere with regular use of the help function.)

카테고리

도움말 센터 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2022년 3월 15일

댓글:

2022년 3월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by