Search code examples
matlabsimulinksimscape

Connect models in Matlab Simulink


Good day everyone!

I tried to make a circuit in matlab simulink, with an AC voltage, Resistor and Voltage measurement. AV voltage and Resistor connect quite well but voltage measurement can't connect the resistor connection.

how may I connect the voltage measurement to the resistor? Please help me thanks!

this is the circuit i want to simulate

enter image description here

I used different types of resistor, and Ac voltage but same results


Solution

  • In my opinion, your diode is from a different library (Simscape\Foundation Library\Electrical) than the voltage source, the resistance and the voltage measurement block (Power Systems...). Try to use blocks from the same Library.

    See following picture for when I only use blocks from Simscape\Foundation Library\Electrical

    enter image description here

    Configuration Parameters