Live Editor tasks are apps that can be included as part of a script. They perform a specific set of operations—for example, you can use tasks to interactively explore parameters and preprocess data.
To add a task to a live script, select one from the toolstrip or type the name of the task directly in a code block.
Tasks represent a series of MATLAB commands. You can interactively adjust parameters and auto-preview their effects.
The corresponding generated code is always available for you to review. This lets you capture your work in a script and reproduce your findings.
With Live Editor tasks, you can interactively explore function options, preview results, and automatically generate the corresponding code.
Read the documentation to learn more.