MATLAB: How to specify a message for the Simulink model that could appear when I execute the help command in MATLAB

simulink

How do I specify a message for my model (MyModel.SLX) that could appear when I execute the following command?
>> help MyModelName

Best Answer

To create a model description that can be queried using the "help" keyword, please go to the Description tab in Model Properties and enter the description. You could also do this programmatically by using the "set_param" command in the following way:
 
>> set_param(gcs, 'Description', 'This is a sample model description')