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

16 次查看(过去 30 天)
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
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 个)

Guillaume
Guillaume 2014-10-8

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by