Yahoo Poland Wyszukiwanie w Internecie

Search results

  1. x = input(prompt) displays the text in prompt and waits for the user to input a value and press the Return key. The user can enter expressions, like pi/4 or rand(3), and can use variables in the workspace.

    • Inputdlg

      Dialog Box to Get User Input. Create a dialog box that...

    • Ginput

      For Cartesian axes, the values are x-coordinates.. For polar...

    • Listdlg

      This MATLAB function creates a modal dialog box that allows...

    • Uicontrol

      This MATLAB function creates a push button (the default user...

    • Keyboard

      keyboard pauses execution of a running program and gives...

    • Questdlg

      This MATLAB function creates a modal dialog box that...

  2. Dialog Box to Get User Input. Create a dialog box that contains two text edit fields to get integer and colormap name inputs from users. prompt = {'Enter matrix size:', 'Enter colormap name:'}; dlgtitle = 'Input'; fieldsize = [1 45; 1 45];

  3. This MATLAB function creates a modal dialog box that presents a question and returns the user's response -- 'Yes', 'No', 'Cancel', or ''.

  4. 27 gru 2023 · Key Methods for Getting MATLAB User Input. Veteran MATLAB coders have three main tools for requesting input: input () – Simple text-based prompting. inputdlg () – Customizable input dialog boxes. GUI Controls – Interactive interface elements. This table compares the key capabilities:

  5. user_entry = input ('prompt') displays prompt as a prompt on the screen, waits for input from the keyboard, and returns the value entered in user_entry. user_entry = input ('prompt','s') returns the entered string as a text variable rather than as a variable name or numerical value.

  6. user_entry = input('prompt') displays prompt as a prompt on the screen, waits for input from the keyboard, and returns the value entered in user_entry. user_entry = input(' prompt ','s') returns the entered string as a text variable rather than as a variable name or numerical value.

  7. 11 maj 2010 · You can use the command input for this, combined with sprintf. %# set defaults radius = 12.6; %# ask for inputs tmp = input(sprintf('Enter new radius value (R=%4.2f)\n',radius)); %# if the user hits 'return' without writing anything, tmp is empty and the default is used if ~isempty(tmp) radius = tmp; end

  1. Ludzie szukają również