Capacitor charging& discharging modeling in Simscape
Version 1.0.0 (30.7 KB) by
Marwa Abdelkareem
Learn how to simulate the charging and discharging behavior of a capacitor using Simulink and Simscape Electrical.
*Capacitor charge circuit modelling
1. Create a New Simulink Model
2. Add Simscape Electrical Components
3.Connect the Components.
4. Set Component Parameters
5. Run the Simulation& Analyze the Results
*Capacitor discharge model
Cite As
Marwa Abdelkareem (2025). Capacitor charging& discharging modeling in Simscape (https://uk.mathworks.com/matlabcentral/fileexchange/172174-capacitor-charging-discharging-modeling-in-simscape), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |