How to Use Live Editor Controls
Learn about using MATLAB® live editor controls. Explore how to dynamically change outputs in real time, and create and share live scripts.
This video covers:
- An overview of each type of control
- How to integrate them into a script
- The importance of labeling controls in a script
- Hidden code
- Examples for further practice
Live editor controls include the numeric slider, the drop-down menu, the checkbox, the edit field, and the button.
When put into a live script, these controls show how changing variables in your code affects corresponding outputs in real time. Labeling live editor controls is quick and easy, and the menu for labeling also lets you change the settings of the control.
The video also walks through how and why to hide code. When the actual live script code is hidden from view, only the script’s outputs are visible, in addition to any live editor controls in the script. This allows users to dynamically change the outputs of the script by changing variable values. Live editor controls not only make it easier to create and edit a script, but they also make sharing code much more efficient and user friendly. The script author can keep all the details out of the code they share, so the user can just interact with the outputs and controls.
To learn more, see MATLAB documentation and explore interactive examples.
Published: 30 Sep 2019
Featured Product
MATLAB
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
아시아 태평양
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)