How to configure the default message and the hyperlink of the help command for published functions

I have published the documentation for a function that I coded with publishing markups in html format but when I type help myFunction in my Command Window at the end appears two lines by default like the following ones:
"Published output in the Help browser
showdemo myFunction (<- hyperlink)."
Is there a way to configure the way this two lines are shown? Like for example, change them to something like this:
"For more information see myFunction"

 Réponse acceptée

Hi Antonio,
I understand you want to customize or change the default lines that appear at the end of the help output in MATLAB when you use published documentation.
MATLAB does not provide a way to change, remove, or customize these lines. They are automatically added when a published HTML file exists for your function.
You can add your own custom message in the help section (the comment block at the top of your .m file), but it will always appear above these default generated lines.
You can refer to the following documentation to know more about the examples and settings for publishing functions:
Hope this helps clarify!

Plus de réponses (0)

Catégories

En savoir plus sur Entering Commands dans Centre d'aide et File Exchange

Produits

Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by