sdo.SimulationTest
R2026bSimulation configuration description
Description
Create a configuration to simulate a Simulink® model. A simulation configuration specifies input signals, model parameter and initial state values, and signals to log for a model. You can also specify linear systems to compute if you have Simulink Control Design™ toolbox. Use a simulation configuration to simulate a model with alternative inputs and model parameter and initial state values, without modifying the model.
Creation
Description
creates an sim_obj = sdo.SimulationTest(modelname)sdo.SimulationTest object and assigns the specified model
name to the ModelName property and default values to the remaining
properties.
You can also create an sdo.SimulationTest object using the createSimulator function of an sdo.Experiment object. The createSimulator function
configures the properties of the sdo.SimulationTest object to simulate
the model associated with the experiment.
Properties
Object Functions
find | Find logged data set |
prepareToDeploy | Set up simulation configuration for deployment with Simulink Compiler |
sim | Simulate Simulink model |
who | List logged data names |
setScenario | Set simulation scenario for a model |
setup | Set up simulation configuration and model for optimization and evaluation |
restore | Restore simulation configuration and model to their previous state |
Examples
Version History
Introduced in R2011b
See Also
sdo.optimize | sdo.evaluate | sdo.SystemLoggingInfo | setScenario | createSimulator | sdo.Experiment
Topics
- Design Optimization to Meet Step Response Requirements (Code)
- Design Optimization to Meet a Custom Objective (Code)
- Estimate Model Parameter Values (Code)
- Estimate Model Parameters and Initial States (Code)
- Design Optimization to Meet Frequency-Domain Requirements (Code)
- Class Attributes
- Property Attributes