라이브 편집기 작업 개발하기
라이브 스크립트에 사용할 자신만의 고유한 라이브 편집기 작업 개발
라이브 편집기 작업은 간단한 포인트-앤-클릭 인터페이스로, 라이브 스크립트에 내장할 수 있습니다. 작업은 사용자가 파라미터를 탐색할 때 자동으로 생성되는 일련의 MATLAB® 명령을 나타냅니다. 작업을 사용하면 개발 시간, 오류, 플로팅에 드는 시간을 줄일 수 있기 때문에 유용합니다.
MATLAB에서 제공되는 라이브 편집기 작업 외에 자신만의 고유한 라이브 편집기 작업을 만들 수도 있습니다. LiveTask
기본 클래스의 서브클래스를 정의하여 사용자 지정 라이브 편집기 작업을 개발하십시오.
클래스
matlab.task.LiveTask | Base class for developing custom Live Editor tasks (R2022a 이후) |
메서드
setup | Set up instance of Live Editor task subclass |
generateCode | Generate code for instance of Live Editor task subclass |
reset | Reset instance of Live Editor task subclass |
함수
matlab.task.configureMetadata | Configure Live Editor task metadata (R2022a 이후) |
matlab.task.removeMetadata | Remove Live Editor task metadata (R2022a 이후) |
도움말 항목
- Live Editor Task Development Overview
Learn the basic steps for developing a Live Editor task.
- Create Simple Live Editor Task
Create a simple Live Editor task and add it to a live script.
- Create Live Editor Task from Selection
Convert a selection in the Live Editor into your own Live Editor task.
- Share Live Editor Tasks
After creating your own Live Editor task, you can share the task for others to use in the Live Editor.