Contenuto principale

simulateCurrentPulse

Simulate circuit in time domain at given current pulses

Since R2025a

Description

voltage = simulateCurrentPulse(circuitModel,inputData,Name=Value) simulates the equivalent circuit model, circuitModel, with the current and time inputs specified in the inputData argument, and returns the output voltage. This function also specifies options using one or more name-value arguments.

Input Arguments

collapse all

Equivalent circuit model to simulate in time domain, specified as an ECM object.

Current and time data to simulate the circuit with, specified as a timetable.

Name-Value Arguments

collapse all

Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

Example: voltage = simulateCurrentPulse(myCircuit,data,OpenCircuitVoltage=10)

Name of the time variable in the inputData table, specified as a string scalar or character vector.

Data Types: string | char

Name of the current variable in the inputData table, specified as a string scalar or character vector.

Data Types: string | char

Open-circuit voltage, specified as a scalar or vector.

Data Types: double

Time step, in seconds, specified as a positive scalar.

Data Types: double

Output Arguments

collapse all

Output voltage of the circuit, returned as a scalar or vector.

Data Types: double

Version History

Introduced in R2025a