I have designed a circuit in ngspice and would like to run a simulation using data from matlab as the input source voltage. ngspice has built in independent sources such as pulse, exponential, sine wave, etc. , but is there a way to use a custom file as a source for the circuit?
Specifically, I want to take data from a seizure simulation model in matlab and run it through my circuit to see how it responds to signals created during the seizure.