Create an Interactive Form Using the Live Editor
This example shows how to use the Live Editor to create an interactive form that
completes a calculation based on input provided by a user. The example uses drop-down
menus and sliders to prompt the user for input, and then uses a button to run a
calculation using the provided input. The example hides the code to only show the
controls and results to the user.To view and interact with the example, open it in MATLAB®. To view the code for this
example in MATLAB, go to the View tab and click Output Inline or Output on Right.19 Live Scripts and Functions