MATLAB Live Editor
Visually explore and analyze problems in a single, interactive environment, and turn your code into formatted, executable documents that tell your story.
Accelerate Exploratory Programming
Work in a single environment and eliminate context switching; results and visualizations appear right next to the code that produced them. Divide your script into manageable sections, and run each independently. MATLAB helps you code with contextual hints for arguments, file names, and more. You can use interactive tools to explore figures and add formatting and annotations.
Turn Your Code into an Interactive Document
Enhance your code and output with formatting, images, and hyperlinks to turn your live script into a story. Insert equations using the interactive editor or create them using LaTeX. Add interactive controls to set values in your script. You can then share your live scripts directly with colleagues so they can reproduce or expand on your work, or create static PDF, HTML, and LaTeX documents for publication .
Create Live Functions
Create and debug live functions and scripts. Add formatted documentation to your functions.
Teach with Live Scripts
Create engaging lectures that combine explanatory text, mathematical equations, code, and results. Step through topics one section at a time, and modify your code on the fly to demonstrate concepts. Develop examples that illustrate how engineers use math to solve practical and complex problems. Create live scripts with MATLAB code to build assignments that let students explore and learn on their own.
Get started today by reviewing the examples below.
- Using the Live Editor (4:35) (Video)
- Introduction to the Live Editor
- Use the Live Editor to Accelerate Exploratory Programming
- Create an Interactive Narrative with the Live Editor
- Teach with Live Scripts
- Computational Math in the Live Editor
- Find community-authored live scripts on MATLAB Central File Exchange