Create a help text that shows in command window. How to??

Hey guys,
So how to you create a help text for a function so that when you write in the command window help my_function a text comes up describing the file.

 採用された回答

matt dash
matt dash 2014 年 10 月 8 日

1 投票

You simply place comments at the top of the function. All comments that appear before the first non-comment or empty line are displayed when you type "help ..."

1 件のコメント

Britney
Britney 2014 年 10 月 8 日
Thank you very much for replying.

サインインしてコメントする。

その他の回答 (1 件)

Guillaume
Guillaume 2014 年 10 月 8 日

0 投票

1 件のコメント

Britney
Britney 2014 年 10 月 8 日
Thank you for your reply it was helpful.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeInteractive Control and Callbacks についてさらに検索

質問済み:

2014 年 10 月 8 日

コメント済み:

2014 年 10 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by