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

Antworten (1)

Walter Roberson
Walter Roberson am 15 Mär. 2022

1 Stimme

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

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2020a

Gefragt:

am 15 Mär. 2022

Kommentiert:

am 15 Mär. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by