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

조회 수: 5 (최근 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 CenterFile Exchange에서 Live Scripts and Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by