Effacer les filtres
Effacer les filtres

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

11 vues (au cours des 30 derniers jours)
Britney
Britney le 8 Oct 2014
Commenté : Britney le 8 Oct 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.

Réponse acceptée

matt dash
matt dash le 8 Oct 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 ..."

Plus de réponses (1)

Guillaume
Guillaume le 8 Oct 2014
  1 commentaire
Britney
Britney le 8 Oct 2014
Thank you for your reply it was helpful.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by