This document presents a study on implementing Maximum Power Point Tracking (MPPT) algorithms in a photovoltaic (PV) system designed for integration into smart grids using MATLAB. It examines MPPT algorithms like Perturb and Observe, Incremental Conductance, and Fuzzy Logic Control to optimize power extraction from PV panels under varying conditions. The paper models and simulates the PV system in MATLAB/Simulink to analyze its performance and dynamic responses. It also addresses challenges and benefits of integrating the MPPT-based PV system into a smart grid, including bidirectional power flow and responding to grid events. Simulation results demonstrate the effectiveness of the MPPT algorithms and the system's potential to support the grid and enhance power generation efficiency