正在加载图片...
Controlling Figure Window Behavior Using Modal Figure Windows 520 Application Examples 6 GUI with Multiple Axes 6-2 View the Layout and guI M-File 6-3 Design of the GUI 6-3 Plot push Button callback 6-6 List Box Directory Reader 6-9 iew the Layout and GUI M-File Implementing the GuI 6-10 Specifying the Directory to List 6-10 Loading the list Box 611 Accessing Workspace Variables from a List Box 6-15 Techniques Used in This Example View the Layout and GUI M-File 6-16 Reading Workspace Variables 6-16 Reading the Selections from the List Box 6-17 A GUI to Set simulink model parameters Techniques Used in This Example View the Layout and GUI M-File 6-19 How to Use the GUI (Text of GUI Help Running the gUI Programming the Slider and Edit Text Components Running the Simulation from the GUI ..6-24 Removing Results from the list box 6-26 Plotting the results d The GUI Help Button 6-29 Closing the gui The list box callback and create Functionv Controlling Figure Window Behavior . . . . . . . . . . . . . . . . . . 5-20 Using Modal Figure Windows . . . . . . . . . . . . . . . . . . . . . . . . . . 5-20 6 Application Examples GUI with Multiple Axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2 Techniques Used in the Example . . . . . . . . . . . . . . . . . . . . . . . . 6-2 View the Layout and GUI M-File . . . . . . . . . . . . . . . . . . . . . . . . 6-3 Design of the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3 Plot Push Button Callback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6 List Box Directory Reader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-9 View the Layout and GUI M-File . . . . . . . . . . . . . . . . . . . . . . . . 6-9 Implementing the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-10 Specifying the Directory to List . . . . . . . . . . . . . . . . . . . . . . . . . 6-10 Loading the List Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-11 Accessing Workspace Variables from a List Box . . . . . . . . . 6-15 Techniques Used in This Example . . . . . . . . . . . . . . . . . . . . . . 6-15 View the Layout and GUI M-File . . . . . . . . . . . . . . . . . . . . . . . 6-16 Reading Workspace Variables . . . . . . . . . . . . . . . . . . . . . . . . . . 6-16 Reading the Selections from the List Box . . . . . . . . . . . . . . . . . 6-17 A GUI to Set Simulink Model Parameters . . . . . . . . . . . . . . 6-19 Techniques Used in This Example . . . . . . . . . . . . . . . . . . . . . . 6-19 View the Layout and GUI M-File . . . . . . . . . . . . . . . . . . . . . . . 6-19 How to Use the GUI (Text of GUI Help) . . . . . . . . . . . . . . . . . . 6-20 Running the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-21 Programming the Slider and Edit Text Components . . . . . . . . 6-22 Running the Simulation from the GUI . . . . . . . . . . . . . . . . . . . 6-24 Removing Results from the List Box . . . . . . . . . . . . . . . . . . . . 6-26 Plotting the Results Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-27 The GUI Help Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-29 Closing the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-29 The List Box Callback and Create Function . . . . . . . . . . . . . . 6-29
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有