Set initial state in State Space block during a si

Discussion in 'MATLAB' started by gpillonn, Mar 16, 2006.

  1. gpillonn

    gpillonn Guest

    I want to set "initial state" parameter in State Space block
    (Simulink) during simulation running.
    Simulink compiles "initial state" in the beginning of simulation and
    doesn't change it after.
    How can I change the value of parameters without recompiling the
    model.

    I have this problem when I would like to simulate hybrid system (the
    initial condition of state space must be setting when the system
    state changes).
     
    gpillonn, Mar 16, 2006
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.