Set external inputs for a simulation through SimulationInput
object, in
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
)
applyToModel
| loadVariablesFromMATFile
| parsim
| setBlockParameter
| setInitialState
| setModelParameter
| setPostSimFcn
| setPreSimFcn
| setVariable
| Simulation
Manager
| Simulink.SimulationInput
| validate