| 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 subcheck to result
setInformation(ft_obj, text)
setInformation(ft_obj, text) is an optional method that adds text as the first item after the subcheck title. Use this method to add information describing the subcheck.
ft_obj |
A handle to a template object. |
text |
A string or a handle to a formatting object, that describes the subcheck. Valid formatting objects are: ModelAdvisor.Image, ModelAdvisor.LineBreak, ModelAdvisor.List, ModelAdvisor.Paragraph, ModelAdvisor.Table, and ModelAdvisor.Text. The Model Advisor displays text after the title of the subcheck. |
Create a list object, ft, and specify a subcheck title and description:
ft = ModelAdvisor.FormatTemplate('ListTemplate');
setSubTitle(ft, ['Check for constructs in the model '...
'that are not supported when generating code']);
setInformation(ft, ['Identify blocks that should not '...
'be used for code generation.']);| Customizing the Model Advisor — Describes how to create custom checks |
| Formatting Model Advisor Results — Describes how to format Model Advisor results |
![]() | setImageSource (ModelAdvisor.Image) | setInputParameters (ModelAdvisor.Check) | ![]() |

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 |