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"

 채택된 답변

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!

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Entering Commands에 대해 자세히 알아보기

제품

릴리스

R2021b

태그

질문:

2025년 11월 27일

댓글:

2025년 12월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by