About 247,000 results
Open links in new tab
  1. input - 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 workspace.

  2. How to use MATLAB input Function - The Engineering Projects

    May 30, 2017 · Today, I am going to share my knowledge about How to use MATLAB input Function. In this tutorial I would like to tell you about the importance of getting data from the user in MATLAB. If you want to display the data to users, you need to get data from them as well according their requirements.

  3. input (MATLAB Functions) - Northwestern University

    input. Request user input. Syntax. user_entry = input('prompt') user_entry = input('prompt','s') Description. The response to the input prompt can be any MATLAB expression, which is evaluated using the variables in the current workspace.

  4. Matlab Code - Input - University of Utah

    The input function is used to ask the user of the program (not the programmer) a question, and then wait for a typed response. The typed number is then returned as the result of the function, and should usually be stored in a variable:

  5. 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 : the data entered The input() function is used to input data in MATLAB. Example :

  6. Understanding the Input Function in Matlab: Comprehensive …

    Dec 7, 2023 · This guide provides an in-depth look at the input function in MATLAB, its syntax, parameters, return types and best practices. Gain insights on how to use this function for user interaction, handle errors, and create dynamic programs using numerical or string inputs.

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

    Jan 10, 2021 · Here is my code, it's in Dutch but there's English explanation as well: %User inputs starting point/variable x, a function and an end condition. %or surpasses the end condition. If yes, done. If no, it puts the result. %through the function until it …

  8. Mastering Matlab Input: Quick Guide for Success

    The `input` function in MATLAB is the primary means for obtaining user input. Its syntax is intuitive, allowing users to prompt for data effectively. Here's an example of how to use the `input` function:

  9. 6.1: Input Commands - Engineering LibreTexts

    Jul 31, 2021 · In order to run either script M-files or function M-files, the user needs to provide data, either numerical or text (“strings”). The first command we consider is simply called input.

  10. input - 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 workspace.

Refresh