Why does it say "Undefined function or variable 'setTableTitle'?
2 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(1 个)
Walter Roberson
2017-5-2
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 个评论
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Verification, Validation, and Test 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!