This repository contains a physics-based Inverted Pendulum (Cart-Pole) model built in MATLAB/Simulink using Simscape, along with a PID controller for stabilization.
inverted_pendulum_simscape.slx— Simulink/Simscape model fileinverted_pendulum_simscape_video.mp4— Short demo video.gitignore— Prevents generated/cache files from being committed
- MATLAB (tested with R2025b; other versions may also work)
- Simulink
- Simscape
Note: If additional products are required, MATLAB will show the missing toolbox/product name when opening or running the model.
Clone the repository:
git clone https://github.com/Hushbee5/inverted_pendulum_simscape.git
cd inverted_pendulum_simscape