How to Use Future System States to Make Real-Time Decisions in Simulink?
I would like to implement the following function in my Simulink model:
At time instant ti, I need to calculate the value of an ODE function using an integrator block over the next 2 seconds, i.e., the time span is [ti, ti+2]. Then, I want to retrieve the system states at time ti+2 and use this information to make a decision on the execution commands at the current time ti.
Does anyone have suggestions on how to approach this problem? Thanks in advance.I would like to implement the following function in my Simulink model:
At time instant ti, I need to calculate the value of an ODE function using an integrator block over the next 2 seconds, i.e., the time span is [ti, ti+2]. Then, I want to retrieve the system states at time ti+2 and use this information to make a decision on the execution commands at the current time ti.
Does anyone have suggestions on how to approach this problem? Thanks in advance. I would like to implement the following function in my Simulink model:
At time instant ti, I need to calculate the value of an ODE function using an integrator block over the next 2 seconds, i.e., the time span is [ti, ti+2]. Then, I want to retrieve the system states at time ti+2 and use this information to make a decision on the execution commands at the current time ti.
Does anyone have suggestions on how to approach this problem? Thanks in advance. simulink MATLAB Answers — New Questions