From: Ryan on
Is there a way to set the initial output values of a triggered subsystem?

I've read through the documentation and searched online but haven't figured this out yet, and I'm hoping I overlooked something somewhere. It seems to me that Simulink determines the output dimensions from the subsystem contents or from downstream blocks, and initially sets the triggered block's output values to zero.

I did come up with a method to force initial values using an external switch, but it's sloppy and expensive; I'll describe the method if anyone is curious. There must be a better way.

Thanks in advance for any suggestions...