Share Live Editor Tasks
After creating your own Live Editor task, you can share the task for others to use in the Live Editor.
To share a Live Editor task with other users, create and share a folder with these contents:
The Live Editor task class definition file
The generated
resources
folder containing theliveTasks.json
file
Instruct the users you are sharing the Live Editor task with to add the shared folder to
the MATLAB® path. To add the folder, they can use the addpath
function or the Add Folder button in the Set Path
dialog box.
Note
The resources
folder does not need to be added to the path. Folders
named resources
are not allowed on the MATLAB path.
Once the shared folder is added to the path, users must restart MATLAB. Then, they can see your Live Editor task in the Live Editor task gallery as well as in automatic code suggestions and completions.