Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Simulink: Use of input as IC to S-function

1 view (last 30 days)
Bastian Andersen
Bastian Andersen on 18 Oct 2018
Closed: MATLAB Answer Bot on 20 Aug 2021
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

Community Treasure Hunt

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

Start Hunting!