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

    Programming and Scripts. The simplest type of MATLAB ® program is called a script. A script is a file that contains multiple sequential lines of MATLAB commands and function calls. You can …

  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. Create Live Scripts in the Live Editor - MATLAB & Simulink

    Live scripts are program files that contain your code, output, and formatted text together in a single interactive environment called the Live Editor. In live scripts, you can write your code …

  4. 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.

  5. 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.

  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. 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.

  8. run - Run MATLAB script - MATLAB - MathWorks

    scriptname can be any file type that MATLAB can execute, such as a MATLAB script file, Simulink ® model, or MEX-file. scriptname can access any variables in the current workspace. If …

  9. Write Script-Based Unit Tests - MATLAB & Simulink

    This example shows how to write a script that tests a function that you create. The example function computes the angles of a right triangle, and you create a script-based unit test to test …

  10. How to call functions from another m file - MATLAB Answers

    Mar 9, 2017 · I have two scripts. In first script I have some functions. script1.m: function res = func1(a) res = a * 5; end function res = func2(x) res = x .^ 2; end In secon...

  11. Some results have been removed
Refresh