Modify value of DC voltage source during a simulation
Show older comments
Hallo guys,
the title basiclly says it. I have an ideal voltage source, where I want to change the value of the amplitude during simulation depending on a look-up table.
First I thought a Goto-tag would work.. Then I tried "To-Workspace" but this block only saves the value during a pause or after terminating the simulation.
Any one got an idea? Thanks in advance.

Answers (1)
hosein Javan
on 27 Aug 2020
1 vote
use "controlled voltage source" instead of DC voltage source. connect your look up table to it and it will do it.
1 Comment
Daniel Santos
on 28 Aug 2020
Categories
Find more on Converters (High Power) in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
