I know the Simscape current source block, but this one can only model a
current source with DC, AC and noise components.
Instead of an AC current, I would like to model a current wave that is defined based on a general current vector in time. Is there a block that can do this, or do I have to define a new block myself?
The needed block is a Controlled Current Source.