Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Simulink: Use of input as IC to S-function

1 vue (au cours des 30 derniers jours)
Bastian Andersen
Bastian Andersen le 18 Oct 2018
Clôturé : MATLAB Answer Bot le 20 Août 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

Réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by