フィルターのクリア

listing subpackages of a package in a Contents.m file

1 回表示 (過去 30 日間)
A.B.
A.B. 2023 年 12 月 16 日
編集済み: Angelo Yeo 2023 年 12 月 18 日
Is there a syntax rule for the contents of a Contents.m file so that subpackages can be listed and briefly described while automatically linked by MATLAB to their own Contents.m files, very much like what we see here for regular functions and classes?
  1 件のコメント
A.B.
A.B. 2023 年 12 月 16 日
okay, I found a way to do this by try and error. Apparently, to make a package content a hyperlink, there needs to be a hyphen - after the object name. Why? I have no clue and even worse, there is apparently no hints whatsoever to such details in the MATLAB documentation linked above. I still appreciate an explanation of the logic of this syntax or alternative better ways.

サインインしてコメントする。

回答 (1 件)

Angelo Yeo
Angelo Yeo 2023 年 12 月 18 日
編集済み: Angelo Yeo 2023 年 12 月 18 日
Thank you for the question and providing your own answer. May I inquire about your current workflow? The documentation for Contents.m provides a "Contents.m" template, which seems designed for users to duplicate and utilize for their own Contents.m files. Could you please provide further details on your workflow and clarify your request?
While I can submit an enhancement request for the documentation on this occasion, please note that you have the option to contact Technical Support directly for any future requests to improve MathWorks products or features.

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by