Main Content

DC Current Source

Ideal constant current source


Electrical Sources

  • DC Current Source block


The DC Current Source block represents an ideal current source that is powerful enough to maintain specified current through it regardless of the voltage across the source.

You specify the output current by using the Constant current parameter, which can be positive or negative.

The positive direction of the current flow is indicated by the arrow.


Constant current

Output current. You can specify positive or negative values. The default value is 1 A.


The block has two electrical conserving ports associated with its terminals.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2007a