UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 22779

8.1 System Generator for DSP -- How do I automatically add an assert block to my diagram, when using xlUpdateModel?

Description

How do I automatically add an assert block to my diagram, when using xlUpdateModel?

Solution

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

AR# 22779
Date Created 09/04/2007
Last Updated 12/15/2012
Status Active
Type General Article