| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → SimElectronics |
| Contents | Index |
| Learn more about SimElectronics |
Passive Devices
The Resistor block represents a SPICE-compatible resistor. You can specify the resistance in one of the following ways:
As a resistance value
As process information that the block uses to calculate a resistance value
The block models temperature dependence. There are two ways to specify the resistor temperature:
When you select Device temperature for the Model temperature dependence using parameter, the resistor temperature is
![]()
where:
TC is the Circuit temperature parameter value from the SPICE Environment Parameters block. If this block doesn't exist in the circuit, TC is the default value of this parameter.
TO is the Offset local circuit temperature, TOFFSET parameter value.
When you select Fixed temperature for the Model temperature dependence using parameter, the resistor temperature is the Fixed circuit temperature, TFIXED parameter value.
The block adjusts the specified or calculated resistance value for temperature using the following equation:
R = R0(1+TC1(T–Tnom)+TC2(T–Tnom)2)
Where
R0 is the specified or calculated resistance value.
TC1 is the First order temperature coefficient, TC1 parameter value.
TC2 is the Second order temperature coefficient, TC2 parameter value.
Tnom is the Parameter extraction temperature, TMEAS parameter value.

The number of parallel resistors that the block represents. This value multiplies the output current. The default value is 1.
Select one of the following options for specifying the resistor value:
Use specified resistance — Provide the resistance value directly. This option is the default.
Calculate from process information — Provide process parameters that the block uses to calculate the resistance value.
When you select this option, the block calculates the resistance using the following equation:

where:
RSH is the Sheet resistance, RSH parameter value.
LENGTH is the Resistor length, LENGTH parameter value.
WIDTH is the Resistor width, WIDTH parameter value.
NARROW is the Etch narrowing, NARROW parameter value.
Resistance value. This parameter is only visible when you select Use specified resistance for the Resistor parameterization parameter. The default value is 0 Ω.
Resistance per square of the resistor. This parameter is only visible when you select Calculate from process information for the Resistor parameterization parameter. The default value is 0 Ω.
Length dimension of the resistor. This parameter is only visible when you select Calculate from process information for the Resistor parameterization parameter. The default value is 1e-06 m.
Width dimension of the resistorThis parameter is only visible when you select Calculate from process information for the Resistor parameterization parameter. The default value is 1e-06 m.
Amount by which the resistor length and width are reduced due to side etching. This parameter is only visible when you select Calculate from process information for the Resistor parameterization parameter. The default value is 0 m.

Coefficient for the linear term in the equation that the block uses to adjust the specified or calculated resistance value for temperature. The default value is 0 1/K.
Coefficient for the quadratic term in the equation the block uses to adjust the specified or calculated resistance value for temperature. The default value is 0 1/K2.
Select one of the following options for modeling the resistor temperature dependence:
Device temperature — Use the device temperature, which is the Circuit temperature parameter value (from the SPICE Environment Parameters block, if one exists in the circuit, or the default value for this block otherwise) plus the Offset local circuit temperature, TOFFSET parameter value.
Fixed temperature — Use a temperature that is independent of the circuit temperature to model temperature dependence.
The amount by which the resistor temperature differs from the circuit temperature. This parameter is only visible when you select Device temperature for the Model temperature dependence using parameter. The default value is 0 K.
The temperature at which the resistor parameters were measured. The default value is 300.15 K. The value must be greater than 0.
The temperature at which to simulate the resistor. This parameter is only visible when you select Fixed temperature for the Model temperature dependence using parameter. The default value is 300.15 K. The value must be greater than 0.
The block has the following ports:
![]() | Relay | S-R Latch | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |