ENCMP100 Study Guide - Final Guide: Dialog Box

89 views2 pages

Document Summary

Simple gui functions listdlg(): creates a dialog box for users to select an item from the list. A cell that you created containing the strings for the options that the user has to choose from. After the user selects their options, selection will be a number indicating which of the choices they have chosen (the index of the choices) Ok is either a one or a zero. Zero means the user clicked on the cancel string. What the user will see as a prompt. How many objects they are allowed to select. What to click to continue and confirm choice. What to click to either terminate the program or go to the next list depending on your code and needs. The list of options to choose from inputdlg(): creats a modal dialog box that returns user input. A cell array that contains prompts, each cell corresponds to a box for entering data. In this case, there is 3 boxes.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents