Main Content

Develop Live Editor Tasks

Develop your own Live Editor tasks for use in live scripts

Live Editor tasks are simple point-and-click interfaces that can be embedded into a live script. Tasks represent a series of MATLAB® commands that are automatically generated as users explore parameters. Tasks are useful because they can help reduce development time, errors, and time spent plotting.

In addition to the Live Editor tasks that MATLAB provides, you can create your own Live Editor tasks. Develop a custom Live Editor task by defining a subclass of the LiveTask base class.


matlab.task.LiveTaskBase class for developing custom Live Editor tasks


setupSet up instance of Live Editor task subclass
generateCodeGenerate code for instance of Live Editor task subclass
resetReset instance of Live Editor task subclass


matlab.task.configureMetadataConfigure Live Editor task metadata
matlab.task.removeMetadataRemove Live Editor task metadata