MATLAB: Connect resistor element to signal generator

controlled voltage sourceresistorSimscapesimulink

I'm trying to create my first simulation with simulink but I have some problems. I would connect Signal generator block to a resistor. Since resistor is a Simscape's element I have to use a block to converter Simulink to PS but I don't know how connect resistor to this block.
here it is what I're trying to do

Best Answer

connect your signal generator to a controlled voltage source or controlled current source, then connect the output to your resistor
Related Question