Why does it say "Undefined function or variable 'setTableTitle'?

Trying to add a title to a table and I found the function 'setTableTitle' on a mathworks page but doesn't work on matlab. Please help. Thanks!

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 5 月 2 日

0 投票

setTableTitle is only for Simulink Verification and Validation.
MATLAB table() objects do not have a title. You can set the .Properties.Description field, but it is not displayed by default.
MATLAB uitable() objects also do not have titles.

2 件のコメント

Amy Chen
Amy Chen 2017 年 5 月 2 日
I have all the toolbox for simulink added on.
Walter Roberson
Walter Roberson 2017 年 5 月 3 日
Do you have the Simulink Verification and Validation product installed and licensed? https://www.mathworks.com/products/simverification.html ? What are you passing to setTableTitle? It needs to be passed a handle to a template.

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

カテゴリ

ヘルプ センター および File ExchangeVerification, Validation, and Test についてさらに検索

タグ

質問済み:

2017 年 5 月 2 日

コメント済み:

2017 年 5 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by