How to make multiple signatures appear in the syntax field of a documentation
4 次查看(过去 30 天)
显示 更早的评论
I automatically generated a live function from a function that can have a variable number of input parameters. Now I'd like to display the syntax of the function in its doc, how can I show the different possible signatures? (Only one signature appears in the syntax field)
0 个评论
回答(1 个)
BhaTTa
2025-8-14
Hey @Berenice D'Antonio, you can add additional signatures yourself in the function’s first comment block (text section) by clicking on the text section and typing the signature.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Live Scripts and Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!