ABSTRACT

Blocks may be placed on the palette, and connections may be drawn to connect the blocks together. However, before a simulation can be initiated, block parameters need to be set using a dialog window, and the values of these variables need to be updated to the underlying code. Double-left-clicking on any of the blocks should invoke the block dialog window for that particular block and clicking the OK button should update the entered data to the program variables. The following step-by-step instructions indicate how functionality can be added to the code to allow block parameter values to be assigned to a block via a dialog window invoked upon double-left-clicking a block.