setExternalInput
Set external inputs for a simulation through SimulationInput
object, in
Syntax
Description
in = in.setExternalInput(
allows you to
directly specify numerical arrays as inputs to a model if a model has root
inports.[t, u1,..uN]
)
in = in.setExternalInput(
allows you to directly
specify dataset objects as external inputs to a model if a model has root
inports.ds
)
in = in.setExternalInput(
allows you to directly
specify timeseries object as external input if a model has a single root inport. ts
)