Simulink: Use of input as IC to S-function
1 ビュー (過去 30 日間)
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.