Summary
You can programmatically simulate a model with the sim function by using the specified techniques to specify parameter values, such as setting the model parameters, modifying the model configuration parameters, and generating the simulation results.
1
Additionally, you can use the Simulink.SimulationInput objects to configure options and inputs for simulations, including the model to simulate, source variables or files for external input data, block parameter values to use for the simulation, and model configuration parameter values.
2
3
According to