MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1

What Is a Live Script or Function?


MATLAB live scripts and live functions are interactive documents that combine MATLAB
code with formatted text, equations, and images in a single environment called the Live
Editor. In addition, live scripts store and display output alongside the code that creates it.

Use live scripts and functions to:

Visually explore and analyze problems


  • Write, execute, and test code in a single interactive environment.

  • Run blocks of code individually or as a whole file, and view the results and graphics
    with the code that produced them.


Share richly formatted, executable narratives


  • Add titles, headings, and formatted text to describe a process and include equations,
    images, and hyperlinks as supporting material.


19 Live Scripts and Functions

Free download pdf