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

    This MATLAB function displays the text in prompt and waits for the user to input a value and press the Return key.

  2. input (MATLAB Functions) - Northwestern University

    user_entry = input ('prompt','s') returns the entered string as a text variable rather than as a variable name or numerical value. If you press the Return key without entering anything, input …

  3. Simple Input/Output Program in MATLAB - GeeksforGeeks

    Aug 20, 2020 · Let us see how to input and output data in MATLAB. input () Syntax : input (PROMPT, "s") Parameters : PROMPT : text prompted "s" : optional, to input a string Returns : …

  4. input (MATLAB Function Reference) - Mathematics

    user_entry = input(' prompt ','s') 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') …

  5. matlab - How to get input from user in function - Stack Overflow

    Jun 4, 2018 · To get exactly "3*5", use input('Prompt','s') instead. I want to ask about function M-file in MATLAB: if I want input from the user, how do I do that? Can I write the input directly in …

  6. How to Ask for Input in MATLAB: An Expert‘s Guide - TheLinuxCode

    Dec 27, 2023 · The syntax is: response = input(prompt) Where prompt displays a text message asking for input. For example: name = input(‘Enter your name: ‘); Shows the prompt "Enter …

  7. Prompt user for a text string - MATLAB Answers - MATLAB

    Nov 8, 2015 · Prompt user for a text string. Learn more about input, variable.

  8. Matlab Code - Input - University of Utah

    To tell a Matlab program to read a string of characters directly with out having to type the tick marks, you must use the 's' syntax as shown here: >>name = input('what is your name: ', 's'); …

  9. Mastering Matlab User Input: A Quick Guide

    String input is essential when you want to gather information that consists of text, such as names, addresses, or any other alphanumeric data. The syntax for gathering a string input in MATLAB …

  10. For a function, how do I make the function take strings as input?

    Nov 14, 2016 · In MATLAB, it is not possible to define a function that knows to automatically change a parameter to a string. You cannot, for example, define square such that

Refresh