Creating Graphical User Interfaces Previous page   Next Page

Running the Simulation from the GUI

The GUI Simulate and store results button callback runs the model simulation and stores the results in the handles structure. Storing data in the handles structure simplifies the process of passing data to other subfunction since this structure can be passed as an argument.

When a user clicks on the Simulate and store results button, the callback executes the following steps:

Here is the Simulate and store results button callback.


Previous page  Programming the Slider and Edit Text Components Removing Results from the List Box Next page

© 1994-2005 The MathWorks, Inc.