The variable of sim function [t, x, y] = sim (f 1, tspan, options, ut).
Where f 1 is the model name of SIMULINK and tspan is the simulation time control variable; The parameter option is model control.
Parameter; Ut is an external input vector.
Knowledge expansion:
MATLAB? (Matrix Lab) is the abbreviation of MAT rix LAB oratory, which is a commercial mathematical software produced by MathWorks Company in the United States. MATLAB is used for algorithm development, data visualization and data analysis.