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

16 Ansichten (letzte 30 Tage)
Britney
Britney am 8 Okt. 2014
Kommentiert: Britney am 8 Okt. 2014
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.

Akzeptierte Antwort

matt dash
matt dash am 8 Okt. 2014
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 ..."

Weitere Antworten (1)

Guillaume
Guillaume am 8 Okt. 2014

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by