forming help of user defined function

sir, I wrote one program to make it user friend i want to make a help file so that user can know how he suppose to use that program .So, please can anyone tell me how we suppose to do it. Thank you

回答(1 个)

Go to the "function" line of the file. Add comments after that line, with no empty line after the "function" line. All the comments from there to the first empty line will form the "help" information.

此问题已关闭。

标签

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by