Simulink: Use of input as IC to S-function

Hi,
I have the following Simulink file. I want to use input E and F as initial conditions in mdlInitializeSizes for x0 in my 1-level S-function, however this seems not possible. As far as I've understood, the inputs are not loaded yet at this point. Is there any workaround I can use in order to utilize the inputs as ICs?
I read the following link which seems to be a similar problem, but I am having trouble understanding the suggested solution with a delay block. Any help is much appreciated.
BR
Bastian

Answers (0)

This question is closed.

Products

Asked:

on 18 Oct 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!