| 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 text below status in result
setSubResultStatusText(ft_obj, message)
setSubResultStatusText(ft_obj, message) is an optional method that displays text below the status in the result. Use this method to describe the status.
ft_obj |
A handle to a template object. |
message |
A string or a handle to a formatting object that the Model Advisor displays below the status in the report. Valid formatting objects are: ModelAdvisor.Image, ModelAdvisor.LineBreak, ModelAdvisor.List, ModelAdvisor.Paragraph, ModelAdvisor.Table, and ModelAdvisor.Text. |
Create a list object, ft, add a passing status and a description of why the check passed:
ft = ModelAdvisor.FormatTemplate('ListTemplate');
setSubResutlStatus(ft, 'Pass');
setSubResultStatusText(ft, ['Constructs that are not supported when '...
'generating code were not found in the model or subsystem']);| Customizing the Model Advisor — Describes how to create custom checks |
| Formatting Model Advisor Results — Describes how to format Model Advisor results |
![]() | setSubResultStatus (ModelAdvisor.FormatTemplate) | setSubscript (ModelAdvisor.Text) | ![]() |

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 |