A study was conducted to determine if continuous subcutaneous glucose monitoring (from MiniMed CGMS) could be used in real-time to control blood sugar level (BSL) in patients with critical illness. A closed-loop control system was constructed to use CGMS in a real-time manner, coupled with a proportional integral (PI) control algorithm based on a sliding scale approach, for automatic intravenous infusion of insulin to patients. A total of five subjects with high BSL (> 10 mmol/L) participated in formal studies of the closed-loop control system. Subjects were recruited from critically ill patients in the intensive care unit (ICU) after informed consent was obtained. Error grid analysis showed that 64.6% of the BSL readings as determined in real time using CGMS sensor, when compared to conventional BSL measurements on blood drawn from an arterial line, was clinically accurate (i.e., < 20% deviation from glucometer value). In the five patients who underwent closed-loop control, the controller managed to control only one patient's glycaemia without any manual intervention. Manual intervention was required due to the real-time sensor reading deviating more than 20% from the glucometer value, and also as a safety mechanism. Test on equality of mean and variance for BSL attained prior to, during, and post trial showed that the controller's performance was comparable to manual control. We conclude that the automatic sliding scale approach of closed-loop BSL control is feasible in patients in intensive care. More work is needed in the refinement of the algorithm and the improvement of real-time sensor accuracy.