In this study, a real-time control of the cart-pole inverted pendulum system was developed using fuzzy logic controller. Swing-up and stabilization of the inverted pendulum were implemented directly in fuzzy logic controller. The fuzzy logic controller designed in the Matlab-Simulink environment was embedded in a dSPACE DS1103 DSP controller board. Swing-up algorithm brings the pendulum near to its inverted position in 10 seconds from downward position. In order to test the robustness of the fuzzy logic controller internal (changing model parameters) and external disturbances (applying external forces) were applied on the inverted pendulum. The inverted pendulum system was shown to be robust to the external and internal disturbances. The maximum errors of the pendulum angle to the impulse input were between 1.89 degrees and 4.6449 degrees in the robustness tests.