Info

此问题已关闭。 请重新打开它进行编辑或回答。

forming help of user defined function

1 次查看(过去 30 天)
saloni singhal
saloni singhal 2012-5-29
关闭: MATLAB Answer Bot 2021-8-20
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 个)

Walter Roberson
Walter Roberson 2012-5-29
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.

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by