Reading inport at simulation start

I have a subsystem containing a state space block. I want to use the initial value (t=0) of a signal at an inport of the subsystem, as an initial condition in the state space block.
How can I read the signal from an inport block at the start of the simulation?

Réponses (0)

Cette question est clôturée.

Produits

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by