How can I generate the graph of current and voltage respective to time of the model

28 views (last 30 days)
I use simulink with simscape and simElectronic to build this model to test the result of my homework. However, I can't find a way to generate the graph of voltage and current.
here is the model of mine

Accepted Answer

Sebastian Castro
Sebastian Castro on 5 Oct 2015
As shown in this example, you need to use PS-Simulink Converter blocks to connect the sensor output to a Scope (or equivalent Simulink sink block).
Also, your current sensor is connected in the right way. You additionally want to get a Voltage sensor and connect it in parallel across whatever it is you want to measure. This could be the diode only, the resistor only, or both (which would give you the source voltage).
- Sebastian

More Answers (0)

Community Treasure Hunt

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

Start Hunting!