A program to recognize and reward our most engaged community members
Can you please explain your question a little bit more? The model on the slide uses a variable 'vehicleMass' as vehicle mass. This variable is probably defined in the model or diagram context. But that's not all, right?
Yes I defined the variable in the model in codes, but how to keep that in diagram context as shown in the block diagram, where can I find that in activate software?
Variables that are used in a block or component are defined either in initialization or diagram context.
Both are available by the two icons in Home ribbon. For more details, see Context and Initialization.