How to define input in Simulink?
Simulink can apply input from a model's base workspace to the model's top-level inports during a simulation run. To specify this option, select the Input box in the Load from workspace area of the Workspace I/O pane. Then, enter an external input specification (see below) in the adjacent edit box and select Apply.
What is input () in MATLAB?
x = input( prompt ) displays the text in prompt and waits for the user to input a value and press the Return key. The user can enter expressions, like pi/4 or rand(3) , and can use variables in the workspace. If the user presses the Return key without entering anything, then input returns an empty matrix.