| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink Verification and Validation |
| Contents | Index |
| Learn more about Simulink Verification and Validation |
Add description of check to result
setCheckText(ft_obj, text)
setCheckText(ft_obj, text) is an optional method that adds text or a model advisor template object as the first item in the report. Use this method to add information describing the overall check.
ft_obj |
A handle to a template object. |
text |
A string or a handle to a formatting object. Valid formatting objects are: ModelAdvisor.Image, ModelAdvisor.LineBreak, ModelAdvisor.List, ModelAdvisor.Paragraph, ModelAdvisor.Table, and ModelAdvisor.Text. text appears as the first line in the analysis result. |
Create a list object, ft, and add a line of text to the result:
ft = ModelAdvisor.FormatTemplate('ListTemplate');
setCheckText(ft, ['Identify unconnected lines, input ports,'...
'and output ports in the model']);| Customizing the Model Advisor — Describes how to create custom checks |
| Formatting Model Advisor Results — Describes how to format Model Advisor results |
![]() | setCheck (ModelAdvisor.Task) | setColHeading (ModelAdvisor.Table) | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |