From: Joshua on
I am trying to reset the initial conditions of a simulink model at a constant time interval. I have it working when the initial conditions come from a constant block (vector). But when I set the initial conditions from another vector which is the state of another system it fails. The error simulink gives is that a vector that I have relating to the various states I am reseting has become a scalar and thus the code fails. I am very new to simulink and probably am just overlooking something simple. Help would be greatly appreciated.

Thanks