Simscape onramp RC circuit free response Task 5

I am trying the Simscape Onramp RC Circuit free response Task 5. I can't seem to get the correct capacitor voltage. I set the simulation stop time to 2 ms to match the signal shown. I don't understand what settings I need to change in the solver configuration or the capacitor parameters. I appreciate pointers here.
Thanks

 Accepted Answer

Deleting the capacitor and placing a new one seemed to fix the issue. I was trying multiple parameter changes on the first capacitor, not sure what the tutorial module retained.

More Answers (0)

Products

Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!