About 7,530,000 results
Open links in new tab
  1. Programming and Scripts - MATLAB & Simulink - MathWorks

    A script is a file that contains multiple sequential lines of MATLAB commands and function calls. You can run a script by typing its name at the command line.

  2. Create Scripts - MATLAB & Simulink - MathWorks

    Scripts are the simplest kind of code file because they have no input or output arguments. They are useful for automating series of MATLAB ® commands, such as computations that you …

  3. How to Create a MATLAB Script | Managing Code in MATLAB

    Understanding what a script is in MATLAB is the fundamental skill needed to understand functions, subfunctions, etc.. This video will show how and why you write script files in MATLAB.

  4. Add Functions to Scripts - MATLAB & Simulink - MathWorks

    Add functions to scripts to reuse code within a script and avoid creating and managing separate function files.

  5. How to Write a MATLAB Program - MATLAB - MathWorks

    Write a basic MATLAB ® program using Live Scripts and learn the concepts of indexing, if-else statements, and loops.

  6. Scripts - MATLAB & Simulink - MathWorks

    Scripts are the simplest type of program file. They are useful for automating a series of MATLAB ® commands, such as computations that you have to perform repeatedly from the command …

  7. Create Live Scripts in the Live Editor - MATLAB & Simulink

    Create live scripts in the Live Editor with formatted text, images, videos, hyperlinks, and equations, and view the generated output and graphics with the code that produced it.

  8. Scripts vs. Functions - MATLAB & Simulink - MathWorks

    This topic discusses the differences between scripts and functions, and shows how to convert a script to a function. Both scripts and functions allow you to reuse sequences of commands by …

  9. Programming with MATLAB - MATLAB & Simulink - MathWorks

    You can combine commands to create scripts that enable you to automate your work. Then add high-level programming constructs such as conditional statements and loops.

  10. function - Declare function name, inputs, and outputs - MATLAB

    This MATLAB function declares a function named myfun that accepts inputs x1,...,xM and returns outputs y1,...,yN.

Refresh