|Introduction | Your first interface | Building a model | Advanced features | Resources|
3.2 Adding model properties
Before you start to use the Model Wizard, you must have a good idea of what the model you're writing is going to do. What are the inputs and outputs, and what operations are going to be carried out on them? In particular, you need to decide which of the model variables must be accessed by the interface builder - these are the properties.
The Ohm's Law model you're building has three variables that you want the user to be able to access: resistance, voltage and current. So you need three model properties.
Let's start with resistance:
When the information for the resistance property has all been added, the Model Wizard will look something like this:
Click Add to add the property. If you want to amend a property, select it in the selection box below, make your amendments and click Update.
When you have added all three variables, you are ready to move on to the next step - adding actions.