Skip to content

Model

The Model tab shows the model the Communicator holds; the Model menu loads, saves and generates it and transfers the parameters of its blocks.

Model tab

The Model tab with a block selected

On the left, the "Model structure": the model as a tree of systems, blocks and ports. Select an element to see its properties on the right, under "Model properties", "System properties", "Block properties" or "Port properties".

"Show advanced settings" shows more of them, e.g. "Enable conversion on target" and "Use Static ID:" of a block.

Block parameters

The "Parameters:" table of a block lists its parameters with "Name" and "Value". Edit a value to change it: the block's parameters are downloaded to the target at once. This needs a connection; without one the Communicator says "Can't download. Not connected".

Important

The "Parameters:" table shows the values of the model in the Communicator, not those on the target. The two can differ, e.g. after parameters were changed on the target by other means or the target was reset. Download all Block Parameters writes the model's values to the target; Upload all Block Parameters reads the target's values into the model, see Model menu.

Model menu

Item Function
Clear Model Removes the model from the Communicator
Load Model from File / Save Model to File X2C model file (.xml)
Generate Code As the toolbar button
Clear Block Cache Reads the block files from disk again, e.g. after they changed during the session
Download all Block Parameters (Model ⇒ Target) Writes the parameters of every block to the target
Upload all Block Parameters (Target ⇒ Model) Reads the parameters of every block from the target
Load Initial Block Parameters from Model
Load Block Parameters from NVM / Save Block Parameters to NVM Parameters in the target's non-volatile memory, if the target supports it
Abort pending NVM operation

Available in

The NVM items say "Not supported by target system" in their tool tip if the target has no non-volatile memory for parameters.