Create Examples Using the Live Editor
This example shows how to use the Live Editor to document or create an example for your code. The example uses formatted text, equations, and runnable code to document the sample function
estimatePanelOutput. It also uses sliders and text fields to allow users to experiment with different function inputs.
To view and interact with the controls, open this example in MATLAB®.