How to make multiple signatures appear in the syntax field of a documentation

4 ビュー (過去 30 日間)
Berenice D'Antonio
Berenice D'Antonio 2019 年 4 月 4 日
回答済み: BhaTTa 2025 年 8 月 14 日
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)

回答 (1 件)

BhaTTa
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.

カテゴリ

Help Center および File ExchangeLive Scripts and Functions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by