The greenhouse climate model has the characteristics of nonlinearity, strong disturbance and time variance. The commonly used methods to deal with the complex model are to linearize the original nonlinear models or to do some offline identification research. Without considering the complex characteristics completely, the usual modeling methods cannot predict the greenhouse climate dynamic behaviour effectively. In this paper, on account of the complex characteristics of greenhouse climate system, taking the temperature model as the example, the continuous-discrete recursive error algorithm was used to identify combined parameter and state online. Firstly, describe the greenhouse temperature model. The greenhouse temperature is affected by the heat load imposed on the greenhouse by the sun, the energy lost to the external air because of transmission through the greenhouse cover, the heat transfer between the internal air and soil, the heat loss by crop transpiration, the heat lost through natural ventilation of the roof windows and the energy supply from the heating system. In all of the model parameters, due to the fact that external solar radiation has a great effect on greenhouse temperature, radiation conversion factor changes over time and the parameters related to heating and ventilation are fundamental but difficult to obtain, this paper attempted to estimate and update 5 key parameters online. Secondly, continuous-discrete recursive prediction error algorithm to estimate combined parameters and states online was developed. This algorithm is appropriate for a continuous-discrete system, which is defined as a dynamic system with a continuous state function, and the observation function is discrete. The algorithm estimates the parameters and states by minimizing the error sum of squares between predicted values and measured values, which is usual in this technology. Compared with other traditional estimation algorithm such as the extended Kalman filter, the big difference of the algorithm is that there is no need to set the initial value of system noise precisely. It defines the system noise in real time by introducing an extra parameter as gain matrix and estimating it online. The algorithm adjusts the system noise to match the model predicted values and actual values by regulating the gain matrix. As estimating the system noise for the greenhouse temperature system beforehand is extremely difficult, the advantage of the proposed algorithm enhances the feasibility of its application in practice. At last, in order to test the developed algorithm, the model identification results were compared between the continuous-discrete recursive prediction error algorithm and the extended Kalman filter in MATLAB. The simulation was based on the measured data containing outside temperature, outside solar radiation, control inputs and temperature of an experiment greenhouse. The results showed that the proposed algorithm could lead to a higher model fit value of 93.7% compared with 89.5% of the extended Kalman filter. The gain matrix varied from zero to non-zero, and it nearly maintained stable at a non-zero constant in the end of each test day. The changing process indicated that there were errors between the model predicted value and the measured value in the initial, and the errors could be compensated by regulating the gain matrix. The different values of gain matrix in 2 days showed that system noise may vary largely in different condition and it should not be set as a constant. From the simulation results and the data analysis, it can be known that the proposed continuous-discrete recursive prediction error algorithm can estimate the temperature well and improve the model accuracy and validity. [ABSTRACT FROM AUTHOR] more...