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.
• Save your narratives as richly formatted, executable documents and share them with colleagues
or the MATLAB community, or convert them to HTML, PDF, Microsoft Word, or LaTeX documents
for publication.
19 Live Scripts and Functions
19-2
Précédent

- 620/1450

Suivant