About 111,000 results
Open links in new tab
  1. Simulink.SimulationInput - MathWorks

    Through the Simulink.SimulationInput object, you can also specify MATLAB ® functions to run at the start and the end of each simulation by using the setPreSimFcn function and the setPostSimFcn. Creation

  2. setVariable - MathWorks

    Use this syntax to specify the value of a variable in a model workspace for a simulation configured using a SimulationInput or Simulation object.

  3. sim - MathWorks

    To specify model configuration parameter values, block parameter values, and variable values for a simulation in a single input, use a Simulink.SimulationInput object instead. Open the model IntegrateSine. The model uses an Integrator block to integrate the output of a Sine Wave block.

  4. Simulink.SimulationInput class - MathWorks

    Through the Simulink.SimulationInput object, you can also specify MATLAB ® functions to run at the start and the end of each simulation by using in.setPreSimFcn and in.setPostSimFcn, respectively.

  5. createSimulationInput - MathWorks

    Create a MATLAB ®-based Simulink ® test file named testSim.m. In the file, define the test case in the testOne function. The function creates the simulation input for a harness called myExample_harness1, simulates using that input, and compares the simulation output to …

  6. Input - MathWorks

    The Input parameter specifies whether to load external input data for top-level input ports. When you select the Input parameter, you must also specify the external input data to load for each top-level input port.

  7. setExternalInput - MathWorks

    The Simulation object represents a simulation and provides an interface to control simulation execution and tune model parameter, block parameter, and variable values during simulation. You can use the setExternalInputs and setInitialState functions to configure the inputs and initial state for simulations you run using the Simulation object.

  8. Create a Simple Model - MathWorks

    You can use Simulink ® to model a system and then simulate the dynamic behavior of that system. The basic techniques you use to create a simple model in this tutorial are the same as those you use for more complex models.

  9. How to Run Simulink Simulation from MATLAB Script?

    Jun 26, 2024 · Sim with Simulation Input object: Passing a Simulink.SimulationInput object to the sim command. The most versatile and scalable approach. Simulation object: Introduced in R2024a, the Simulation object provides an interface to control the simulation execution: start, step, stop and tune parameters

  10. lsim - MathWorks

    Simulate the response of sys using the same input data as the one used for estimation and the initial states returned by the estimation command. [y,t,x] = lsim(sys,z.InputData,[],x0); Here, y is the system response, t is the time vector used for simulation, and x is the state trajectory.

Refresh