About 9,090,000 results
Open links in new tab
  1. input - Request user input - MATLAB - MathWorks

    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 …

  2. inputdlg - Create dialog box to gather user input - MATLAB

    This MATLAB function creates a modal dialog box containing one or more text edit fields and returns the values entered by the user.

  3. How to code an input function in script? - MATLAB Answers

    Jan 10, 2021 · From my understanding, you wanted to take a function, inital condition and final condition from user and process the values accordingly.

  4. How do I create a user generated matrix in Matlab?

    Aug 8, 2024 · Where I am having trouble, is figuring out how to take the number of rows and columns that a user defines, and turn that into a matrix. This is what I have so far: Rows = …

  5. How to neatly take user input as function input - MATLAB Answers ...

    Feb 28, 2019 · I have a function in which I would like the user to input an argument. Currently I have: %take user input and set to var 'spike_threshold' spike_threshold = inputdlg('Choose a …

  6. How to enter multiple values for one input prompt - MATLAB

    Folks, I have a function which requires the user to enter 4 values. At the moment, the user has to give a value then enter, repeating this 4 times. Prompt= 'Question 1 '; Speed = input(P...

  7. get user input in the form of an integer - MATLAB Answers

    Apr 21, 2021 · You can use input() and assume that the user will know to enclose the numbers in literal [ and ] characters. You can use multiple input() prompts. You can use input() with the 's' …

  8. Prompt user for a text string - MATLAB Answers - MATLAB Central …

    Nov 8, 2015 · ais=input('Give me a letter you would like converted to a number: ', 's') alphabet=[ 'a' , 'b' , 'c' , 'd' , 'e' , 'f' , 'g' , 'h' , 'i' , 'j' , 'k' , 'l' , 'm' , 'n' , 'o' , 'p' , 'q' , 'r' , 's' , 't' , 'u' , 'v' , 'w' , 'x' , 'y' …

  9. How can I get a vector from users? - MATLAB Answers - MathWorks

    Nov 11, 2018 · I need to get a vector from user. But user should enter the values *one by one* (eg: 1st value is 25 2nd value is 22). When user enter the all values (n^2 values), I want to see …

  10. How to request a specific user input? - MATLAB Answers

    Sep 30, 2024 · I want to ask the user if they want to EXP1 or EXP2. If the user enters '1' or '2', then I want to display "running exp 1 or 2", otherwise I want the program to display error …

Refresh