Contenu principal

parameterizeImpedanceBlock

R2026b

Parameterize Impedance (State-Space) block with EISModel state-space matrices

Since R2026b

Description

parameterizeImpedanceBlock(eisfom,blockHandle) parameterizes the Impedance (State-Space) block specified by the numeric handle blockHandle using the data in the EISModel object, eisfom.

example

parameterizeImpedanceBlock(eisfom,blockHandle,Name=Value) also specifies additional options using one or more name-value arguments.

Examples

collapse all

Create a model and add an Impedance (State-Space) block.

modelName = 'parameterize'; 
blockPath = [modelName '/impedance']; 
open_system(new_system(modelName)); 
add_block(['batt_lib/Passive/Impedance' newline '(State-Space)'],blockPath); 

Create an EISModel object to obtain the state-space matrices needed to parameterize the block.

eisfom = eisModel; 

Parameterize the Impedance (State-Space) block in the model by using the parameterizeImpedanceBlock function.

parameterizeImpedanceBlock(eisfom,blockPath);

Input Arguments

collapse all

Fractional-order equivalent circuit model that the function uses to parameterize the Impedance (State-Space) block, specified as an EISModel object.

Numeric handle of a block, specified as a scalar or vector. A handle is a MATLAB data type that stores an association to a target object. To get a block handle, use the getSimulinkBlockHandle function.

Data Types: double

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: parameterizeImpedanceBlock(myEISModel,index,ProfileID=2)

Index of the tabulated profile of the eisfom argument used to parameterize the Impedance (State-Space) block, specified as a nonnegative scalar.

Version History

Introduced in R2026b