How do I automatically add an assert block to my diagram, when using xlUpdateModel?
To update your model, you use the xlUpdateModel command at the Matlab command prompt. You can have xlUpdateModel automatically insert assert blocks for the rate propagation (data type propagation blocks must be placed manually) by using the following syntax.
> xlUpdateModel('mdlname', 'assert')
Make sure to add the single quotation marks, and replace mdlname with the name of your .mdl file.
You can also access the xlUpdateModel help by typing the following.
> help xlUpdateModle