are to design GUI control interfaces for optimal control has good human-computer interaction interfaces, making it easy to use. Linear quadratic optimal control, also known as LQ optimal control or infinite-time steady-state system state regulation controller, is implemented in MATLAB. This paper focuses on four research schemes: continuous system linear quadratic optimal control MATLAB implementation, discrete system quadratic optimal control MATLAB implementation, optimal observer MATLAB implementation, and linear quadratic Gauss optimal control MATLAB implementation. From these four aspects, different GUI interfaces are designed with different performance indicators and the functions of each are implemented, with their respective application ranges discussed. Keywords: linear quadratic, optimal control, GUI control interface, optimal observer, Gaussian optimal control.